By the 18th century, the Ottoman Empire was driven out of Ottoman Hungary and Croatia, and Austria brought the empire under central control.

The Austrian imperial army was victorious against the Ottomans in 1664 but Emperor Leopold failed to capitalize on the success when he signed the Peace of Vasvár in which Hungary and Croatia were prevented from regaining  territory lost to the Ottoman Empire.
This caused unrest among the Hungarian and Croatian nobility which plotted against the emperor in what became known as the Zrinski–Frankopan Conspiracy in Croatia, but they weren't powerful enough to actually do something about it, even though they negotiated with both the French and the Ottomans.
Imperial spies uncovered the conspiracy and on April 30, 1671 executed four esteemed Croatian and Hungarian noblemen involved in it, Petar Zrinski, Fran Krsto Frankopan, Ferenc Nádasdy III and Erazmo Tatenbach, in Wiener Neustadt.

Croatia was one of the crown lands that supported Emperor Charles VI's Pragmatic Sanction of 1713 and supported Empress Maria Theresa in the War of the Austrian Succession of 1741–48 and the Croatian Parliament signed their own Pragmatic Sanction of 1712.
Subsequently, the Empress made significant contributions to Croatian matters, by making several changes in the administrative control of the Military Frontier, the feudal and tax system.
In 1767 she founded the Croatian Royal Council (Croatian: Hrvatsko kraljevinsko vijeće) as royal government of Croatia and Slavonia, with seat in Varaždin, later in Zagreb, presided by the ban, but it was abolished in 1779 when Croatia was relegated to just one seat in the governing council of Hungary (the Royal Hungarian Council of Lieutenancy, also known as the Hungarian Vice-regency Council, headed by the palatine), held by the ban of Croatia.
The empress also gave the independent port of Rijeka to Croatia in 1776.
However, she also ignored the Croatian Parliament.

With the fall of the Venetian Republic in 1797, its possessions in eastern Adriatic mostly came under the authority of France which passed its rights to Austria the same year.
Eight years later they were restored to France as the Illyrian Provinces, but won back to the Austrian crown by 1815.
By the 18th century, the Ottoman Empire was driven out of Ottoman Hungary and Croatia, and Austria brought the empire under central control.
The Austrian imperial army was victorious against the Ottomans in 1664 but Emperor Leopold failed to capitalize on the success when he signed the Peace of Vasvár in which Hungary and Croatia were prevented from regaining  territory lost to the Ottoman Empire. This caused unrest among the Hungarian and Croatian nobility which plotted against the emperor in what became known as the Zrinski–Frankopan Conspiracy in Croatia, but they weren't powerful enough to actually do something about it, even though they negotiated with both the French and the Ottomans. Imperial spies uncovered the conspiracy and on April 30, 1671 executed four esteemed Croatian and Hungarian noblemen involved in it, Petar Zrinski, Fran Krsto Frankopan, Ferenc Nádasdy III and Erazmo Tatenbach, in Wiener Neustadt.
Croatia was one of the crown lands that supported Emperor Charles VI's Pragmatic Sanction of 1713 and supported Empress Maria Theresa in the War of the Austrian Succession of 1741–48 and the Croatian Parliament signed their own Pragmatic Sanction of 1712. Subsequently, the Empress made significant contributions to Croatian matters, by making several changes in the administrative control of the Military Frontier, the feudal and tax system. In 1767 she founded the Croatian Royal Council (Croatian: Hrvatsko kraljevinsko vijeće) as royal government of Croatia and Slavonia, with seat in Varaždin, later in Zagreb, presided by the ban, but it was abolished in 1779 when Croatia was relegated to just one seat in the governing council of Hungary (the Royal Hungarian Council of Lieutenancy, also known as the Hungarian Vice-regency Council, headed by the palatine), held by the ban of Croatia. The empress also gave the independent port of Rijeka to Croatia in 1776. However, she also ignored the Croatian Parliament.
With the fall of the Venetian Republic in 1797, its possessions in eastern Adriatic mostly came under the authority of France which passed its rights to Austria the same year. Eight years later they were restored to France as the Illyrian Provinces, but won back to the Austrian crown by 1815.
Kingdom of Croatia (Habsburg)