Carrara was ruled by Pisa in (1235), Lucca in (1322), Genoa in (1329), and Milan in (1343). After Filippo Maria Visconti of Milan died in 1477, Carrara was controlled by Tommaso Campogregoso, lord of Sarzana, and the Malaspina family.