In 1687 it was recaptured by the Venetians, but was again restored to the Ottomans in 1699, by the Treaty of Karlowitz. Among those who fought in the Battle of Lepanto was Miguel de Cervantes, the most famous Spanish writer; there is a statue in his honour.