 Francis was arrested for this correspondence but eventually escaped to Poland.The War of the Spanish Succession forced much of the Austrian army to leave Hungary, creating an opportunity to revolt.The Kurucs, or the anti-Habsburg rebels, began an uprising headed by Rákóczi.