In 1464, during the First Ottoman–Venetian War,the Venetians seized Lemnos and other former Gattilusi possessions, but the area reverted to Ottoman control in accordance with the 1479 Treaty of Constantinople. In the aftermath, the Kapudan Pasha, Gedik Ahmed, repaired the island's fortifications and brought in settlers from Anatolia. At this time, the administration of the island was also reformed and brought in line with Ottoman practice, with a governor ("voevoda"), judge ("kadi"), and elders ("kodjabashis") heading the local Greek inhabitants. In the late-16th century, Lemnos is recorded, along with Chios, as "the only prosperous island of the Archipelago". It had 74 villages, three of them inhabited by Turkish Muslims.