Venice's rule lasted until 1470, when, during the Ottoman–Venetian War of 1463–1479, Sultan Mehmed II campaigned against Chalkis. With the fall of the city on 12 July, the whole island came under Ottoman control. The city's fall is the subject of the Rossini opera Maometto II.