The Peasants' War in Upper Austria (German: Oberösterreichischer Bauernkrieg) was a rebellion led by farmers in 1626 whose goal was to free Upper Austria from Bavarian rule. The motive (found in the Frankenburger Würfelspiel of 1625) was an escalation of the Bavarian Electorate's attempt to press the country into the Catholic faith at the time of the Thirty Years' War.