Polish–Ottoman War (1683–1699)
The Polish–Ottoman War or the War of the Holy League was the Polish side of the conflict that is otherwise known as the Great Turkish War. The conflict began with a Polish victory at the Battle of Vienna in 1683 and ended with the Treaty of Karlowitz, which restored to the Polish–Lithuanian Commonwealth lands lost in the previous Polish–Ottoman War (1672–76)).
Source: Wikipedia — Polish–Ottoman War (1683–1699) (CC BY-SA 4.0)