An ancient city, Pisa was also a major competitor with Venice and Genoa for the position of chief maritime empire on the peninsula. But repeated conflicts with neighboring city-states and a variety of strategic errors ultimately led to the loss of Pisan independence, first to Milan and then to Florence.