In 805 it was given by Charlemagne to the abbey of the Tre Fontane in Rome, and was later a possession of Aldobrandeschi, Pannocchieschi, Caetani, Orsini families and the town of Perugia. In 1241 the Sicilian fleet of Emperor Frederick II destroyed a Genoese fleet. From 1264 Giglio was a Pisane dominion, from which it passed to the Medici. It suffered several Saracen attacks, which ended only in 1799.