Empoli was a commune and fortress under the dominion of Florence during the medieval and early modern period.