During Sforza's reign, Florence was under the command of Cosimo de' Medici and the two rulers became close friends. This friendship eventually manifested in first the Peace of Lodi and then the Italian League, a multi-polar defensive alliance of Italian states that succeeded in stabilising almost all of Italy for its duration. After the peace, Sforza renounced part of the conquests in eastern Lombardy obtained by his condottieri Bartolomeo Colleoni, Ludovico Gonzaga, and Roberto Sanseverino d'Aragona after 1451. As King Alfonso of Naples was among the signatories of the treaty, Sforza also abandoned his long support of the Angevin pretenders to Naples. He also aimed to conquer Genoa, then an Angevin possession; when a revolt broke out there in 1461, he had Spinetta Campofregoso elected as Doge, as his puppet. Sforza occupied Genoa and Savona in 1464.