The Croatian–Slovene Peasant Revolt (, ), Gubec's Rebellion () or Gubec's peasant uprising of 1573 was a large peasant revolt on territory forming modern-day Croatia and Slovenia. The revolt, sparked by cruel treatment of serfs by Baron Ferenc Tahy, ended after 12 days with the defeat of the rebels and bloody retribution by the nobility. Background In the late 16th century, the threat of Ottoman incursions strained the economy of the southern flanks of the Holy Roman Empire, and feudal lords continually increased their demands on the peasantry. In Croatian Zagorje, this was compounded by cruel treatment of peasants by Baron Ferenc Tahy and his disputes with neighbouring barons over land, dating back to 1564, which escalated into armed conflicts. When multiple complaints to the emperor went unheard, the peasants conspired to rebel with their peers in the neighbouring provinces of Styria and Carniola and with the lower classes of townspeople. Revolt The rebellion broke out simultaneously in large parts of Croatia, Styria, and Carniola on 28 January 1573. The rebels' political program was to replace the nobility with peasant officials answerable directly to the emperor, and to abolish all feudal holdings and obligations to the Roman Catholic Church. A peasant government was formed with Matija Gubec, Ivan Pasanec, and Ivan Mogaić as members. Far-reaching plans were drawn up, including abolition of provincial borders, opening of highways for trade, and self-rule by the peasants. The captain of the rebels, Ilija Gregorić, planned an extensive military operation to secure victory for the revolt. Each peasant household provided one man for his army, which met with some initial success; their revolutionary goals alarmed the nobility, however, which raised armies in response. The rebels used a network of informers who relayed the information on movements of the opposing units; in turn, spies among the peasants themselves passed the information on the spread of the rebellion to the nobility. Backlash On 5 February, Uskok captain and baron Jobst Joseph von Thurn () led an army of 500 Uskoks from Kostanjevica and some German soldiers that defeated a rebel detachment of Nikola Kupinič at Krško (in Lower Styria), which was the first larger rebel defeat. This rapidly weakened the rebellion in Carniola and Styria. The next day, another rebel force was defeated near Samobor. On 9 February, the decisive Battle of Stubičko polje was fought. Gubec and his 10,000 men resisted fiercely, but after a