The death of Suleiman the Magnificent in 1566 brought Selim II to power. Known by some as "Selim the Sot", he assembled a massive expedition to take Cyprus from Venice. An option that Selim opted out of was to assist the Moorish rebellion that had been instigated by the Spanish crown to root out disloyal Moors. Had Selim succeeded in landing in the Iberian peninsula, he may have been cut off, for after he had captured Cyprus in 1571 he suffered a decisive naval defeat at Lepanto. The Holy League, assembled by the Pope to defend the Island, arrived too late to save it (despite 11 months of resistance at Famagusta); having collected so much of Europe's available military strength, the Holy League was better supplied with ammunition and armor and inflicted a blow on the Ottomans. The chance to retake Cyprus was wasted in the typical squabbling that followed the victory, so that when the Venetians signed a peace treaty with the Ottomans in 1573, they did so according to Ottoman terms.