The country had been freed from Ottoman rule in 1699 and after an attempt at gaining independence, Hungary had been controlled by the Habsburgs.
Ang bansa had been napalaya mula sa Turko tuntunin sa 1699 at pagkatapos ng isang pagtatangka sa pagiging pagsasarili, Hungary had been kontrolado ng Habsburgs.