During the reign of emperor Leopold I, taxes levied by Habsburgs in Transylvania led to the Kuruc revolt. In this context, Francis II Rákóczi started a national freedom fight based on serfs and on help promised by the king of France ( Louis XIV) and the czar of Russia (Peter the Great).