In 1664, it was the site of the Battle of Saint Gotthard, where an Austrian army led by Raimondo Montecuccoli defeated the Ottoman Empire so that the Turks had to agree to the Peace of Vasvár, which held until 1683.