Preveza was hotly contested in several Ottoman-Venetian Wars. In September 1684, at the early part of the Morean War, the Venetians, aided by Greek irregulars, crossed from the island of Lefkada (Santa Maura) and captured Preveza as well as Vonitsa, which gave them control of Acarnania – an important morale booster towards the main campaign in the Morea. However, at the end of the war in 1699 Preveza was handed back to Ottoman rule. Venice captured Preveza again in 1717, during its next war with the Ottomans and was this time able to hold on to the town and fort it – a meager achievement in a war which otherwise went very badly for the Republic. Venetian rule would persist until the very end of the Venetian Republic itself in 1797. During this period, in 1779, the Orthodox missionary Kosmas visited Preveza where it is said he founded a Greek school, which would be the only school of the city during the 18th century. At the end of the 18th century, Preveza became a transit center of trade with western Europe (particularly France), which resulted in the increase of its population to approximately 10,000–12,000.