to his own. Bercsényi was a highly educated man, the third richest man in the kingdom (after Rákóczi and Simon Forgách), and was related to most of the Hungarian aristocracy. Rákóczi uprising As the House of Habsburg was on the verge of dying out in Spain, France was looking for allies in its fight against Austrian hegemony. Consequently, they established contact with Rákóczi and promised support if he took up the cause of Hungarian independence. An Austrian spy seized this correspondence and brought it to the attention of the Emperor. As a direct result of this, Rákóczi was arrested on 18 April 1700, and imprisoned in the fortress of Wiener Neustadt (south of Vienna). It became obvious during the preliminary hearings that, just as in the case of his grandfather Péter Zrínyi, the only possible sentence for Ferenc was death. With the aid of his pregnant wife Amelia and the prison commander, Rákóczi managed to escape and flee to Poland. Here he met with Bercsényi again, and together they resumed contact with the French court. Three years later, the War of the Spanish Succession caused a large part of the Austrian forces in the Kingdom of Hungary to temporarily leave the country. Taking advantage of the situation, Kuruc forces began a new uprising in Munkács, and Rákóczi was asked to head it. He decided to invest his energies in a war of national liberation, and accepted the request. On 15 June 1703, another group of about 3000 armed men headed by Tamás Esze joined him near the Polish city of Ławoczne. Bercsényi arrived too, with French funds and 600 Polish mercenaries. Most of the Hungarian nobility did not support Rákóczi's uprising, because they considered it to be no more than a peasant rebellion. Rákóczi's famous call to the nobility of Szabolcs County seemed to be in vain. He did manage to convince the Hajduk (Hungarian soldiers) (emancipated peasant warriors) to join his forces, so his forces controlled most of Kingdom of Hungary to the east and north of the Danube by late September 1703. He continued by conquering Transdanubia soon after. Since the Austrians had to fight Rákóczi on several fronts, they felt obliged to enter negotiations with him. However, the victory of Austrian and British forces against a combined French-Bavarian army in the Battle of Blenheim on 13 August 1704, provided an advantage not only in the War of