It was called the Great Turkish War, which started in 1683, with a huge invasion force of 140,000 men marching on Vienna.
To stop the invasion, a Holy League was formed, made up by Austria, Poland , Venetians and the Russian Empire. They reconquered Hungary . At the same time, the Venetians launched an expedition into Greece, which conquered the Peloponnese. During the 1687 Venetian attacked on the city of Athens (conquered by the Ottomans), the Ottomans turned the ancient Parthenon into an ammunitions storehouse. A Venetian mortar hit the Parthenon, detonating the gunpowder stored inside and partially destroying it.
The war ended with the Treaty of Karlowitz in 1699.