The Ottomans conquered the Peloponnesus and launched an offensive in the Venetian mainland, closing in on the important centre of Udine. The Persians, together with the Caramanian amir, were severely defeated at Terdguin, and the Republic was left alone. Further, much of Albania was lost after Skanderbeg's death. However, the heroic resistance of Scutari under Antonio Loredan forced the Ottomans to retire from Albania, while a revolt in Cyprus gave back the island to the Cornaro family and, subsequently, to the Serenissima (1473). Its prestige seemed reassured, but Scutari fell anyway two years later, and Friuli was again invaded and ravaged. On January 24, 1479, a treaty of peace was finally signed with the Ottomans. Venice had to cede Argo, Negroponte, Lemnos and Scutari, and pay an annual tribute of 10,000 golden "ducati". Five years later the agreement was confirmed by Mehmed II's successor, Bayezid II, with the peaceful exchange of the islands of Zakynthos and Kefalonia between the two sides.