Following the unpopular Peace of Vasvár treaty signed in 1664 by the Austrian Habsburg Monarchy and the Ottoman Empire which gave back parts of the territory which had been liberated from the Turks in the preceding Austro-Turkish War (1663–1664), a conspiracy involving members of the Croatian and Hungarian nobility was formed to overthrow the Habsburgs. The leaders of the conspiracy were Katarina's husband Petar Zrinski, her half brother Fran Krsto Frankopan and the Hungarian count Ferenc Wesselényi. The conspiracy was largely unsuccessful and in March 1670 a crackdown ordered by Leopold I ensued, in which all three men were arrested and imprisoned. On 30 April 1671 both Petar and Fran Krsto were executed in Wiener Neustadt.