In July 1656, during the Fifth Ottoman–Venetian War, the Venetians captured the island again following a major victory over the Ottoman fleet. The Ottomans under Topal Mehmed Pasha recovered it barely a year later, on 15 November 1657, after besieging the capital of Kastro for 63 days. The famous Sufi poet Niyazi Misri was exiled to Lemnos for several years during the late 17th century. In 1770 Russian forces under Count Alexei Grigoryevich Orlov besieged Kastro for 60 days during the Russo-Turkish War of 1768–1774. The fortress had just surrendered when an attack by the Ottoman fleet on the Russian vessels in Mudros Bay forced the Russians to withdraw (24 October 1770).