From the 14th century it was under the control of the city of Florence and the Grand Duchy of Tuscany until the unification of Italy in 1860 . From the 14th century it was a possession of Florence and the Grand Duchy of Tuscany until the unification of Italy in 1860 .