The Peace of Vasvár was a treaty between the Habsburg monarchy and the Ottoman Empire which followed the Battle of Saint Gotthard of 1 August 1664 (near Mogersdorf, Burgenland), and concluded the Austro-Turkish War (1663–64). It held for about 20 years, until 1683, during which border skirmishing escalated to a full-scale war.
At the time of signing, the military of the Habsburgs was in a better position than that of the Ottomans. Instead of maintaining initiative and momentum, negotiations began and fighting stopped. In fact, Leopold I, Holy Roman Emperor wanted peace to be signed so that he could be better prepared against France.