In late August, the members of the League met at Mantua to discuss the situation in Italy and the partition of territory acquired from the French. They quickly came to an agreement regarding Florence, which had angered Julius by allowing Louis to convene the Council of Pisa in its territory; at the Pope's request, Ramon de Cardona marched into Tuscany, smashed Florentine resistance, overthrew the Florentine Republic, and installed Giuliano de' Medici as ruler of the city. On the subject of territory, however, fundamental disagreements quickly arose. Julius and the Venetians insisted that Maximilian Sforza be permitted to keep the Duchy of Milan, while Emperor Maximilian and Ferdinand maneuvered to have one of their relatives installed as duke. The Pope demanded the annexation of Ferrara to the Papal States; Ferdinand objected to this arrangement, desiring the existence of an independent Ferrara to counter growing Papal power. The Emperor refused to relinquish any Imperial territory, which in his eyes included most of the Veneto, and signed an agreement with the Pope to exclude Venice entirely from the final partition; when the Republic objected, Julius threatened to reform the League of Cambrai against her. In response, Venice turned to Louis; on 23 March 1513, a treaty pledging to divide all of northern Italy between France and the Republic was signed at Blois. Pope Julius II, meanwhile, had died in February, and Cardinal Giovanni di Lorenzo de' Medici, second son of Lorenzo the Magnificent and elder brother of the new ruler of Florence, was elected Pope Leo X.