Enlightened despotism thumb|200x200px|Tounj bridge on Jozephina road|left By the 18th century, the Ottoman Empire had been driven out of Hungary, and Austria brought the empire under central control. Since the emperor Charles VI had no male heirs, he wanted to leave the imperial throne to his daughter Maria Theresa of Austria, which eventually led to the War of Austrian Succession of 1741–1748. The Croatian Parliament decided to accept Maria Theresa as a legitimate ruler by drafting the Pragmatic Sanction of 1712, asking in return that whoever inherited the throne recognize and respect Croatian autonomy from Hungary. The king unwillingly granted this.Macan, 119-120 The rule of Maria Theresa brought limited modernization in education and health care. Croatian Royal Council (Consilium Regni Croatiae), which served as the de facto Croatian government, was founded in Varaždin in 1767, but it was abolished in 1779 and its authority was passed to Hungary. The foundation of the Croatian Royal Council in Varaždin made this town the administrative capital of Croatia, however, a large fire in 1776 caused significant damage to the city, so these major Croatian administrative institutions moved to Zagreb.
Enlightened despotism thumb|200x200px|Tounj bridge on Jozephina road|left By the 18th century, the Ottoman Empire had been driven out of Hungary, and Austria brought the empire under central control. Since the emperor Charles VI had no male heirs, he wanted to leave the imperial throne to his daughter Maria Theresa of Austria, which eventually led to the War of Austrian Succession of 1741–1748. The Croatian Parliament decided to accept Maria Theresa as a legitimate ruler by drafting the Pragmatic Sanction of 1712, asking in return that whoever inherited the throne recognize and respect Croatian autonomy from Hungary. The king unwillingly granted this.Macan, 119-120 The rule of Maria Theresa brought limited modernization in education and health care. Croatian Royal Council (Consilium Regni Croatiae), which served as the de facto Croatian government, was founded in Varaždin in 1767 but it was abolished in 1779 and its authority was passed to Hungary. The foundation of the Croatian Royal Council in Varaždin made this town the administrative capital of Croatia, however, a large fire in 1776 caused significant damage to the city, so these major Croatian administrative institutions moved to Zagreb.