Ottoman Turks and Tatars invaded Moravia in 1663, taking 12,000 slaves. In 1664 Habsburg armies under command of Jean-Louis Raduit de Souches attacked the Ottomans, conquered Nitra and Levice and freed some of the captive Moravians. When general Montecuccoli's army won the Battle of Saint Gotthard, the Turks signed Peace of Vasvár, which would last 20 years.