information:filtering
Foreign policy

The Napoleonic Wars dominated Austrian foreign policy from 1804 to 1815. The Austrian army was one of the most formidable forces the French had to face. After Prussia signed a peace treaty with France on 5 April 1795, Austria was forced to carry the main burden of war with Napoleonic France for almost ten years. This severely overburdened the Austrian economy, making the war greatly unpopular. Emperor Francis I therefore refused to join any further war against Napoleon for a long time. On the other hand, Francis I continued to intrigue for the possibility of revenge against France, entering into a secret military agreement with the Russian Empire in November 1804. This convention was to assure mutual cooperation in the case of a new war against France.

Austrian unwillingness to join the Third Coalition was overcome by British subsidies, but the Austrians withdrew from the war yet again after a decisive defeat at the Battle of Austerlitz. Although the Austrian budget suffered from wartime expenditures and its international position was significantly undermined, the humiliating Treaty of Pressburg provided plenty of time to strengthen the army and economy. Moreover, the ambitious Archduke Charles and Johann Philipp von Stadion never abandoned the goal of further war with France.

Archduke Charles of Austria served as the Head of the Council of War and Commander in Chief of the Austrian army. Endowed with the enlarged powers, he reformed the Austrian Army to preparedness for another war. Johann Philipp von Stadion, the foreign minister, personally hated Napoleon due to an experience of confiscation of his possessions in France by Napoleon. In addition, the third wife of Francis I, Maria Ludovika of Austria-Este, agreed with Stadion's efforts to begin a new war. Klemens Wenzel von Metternich, located in Paris, called for careful advance in the case of the war against France. The defeat of French army at the Battle of Bailén in Spain on 27 July 1808 triggered the war. On 9 April 1809, an Austrian force of 170,000 men attacked Bavaria.

Despite military defeats of the Austrian army —especially the Battles of Marengo, Ulm, Austerlitz and Wagram —and consequently lost territory throughout the Revolutionary and Napoleonic Wars (the Treaties of Campo Formio in 1797, Luneville in 1801, Pressburg in 1806, and Schönbrunn in 1809), Austria played a decisive part in the overthrow of Napoleon in the campaigns of 1813–14. It participated in a second invasion of France in 1815, and put an end to Murat's regime in south Italy.

The latter period of Napoleonic Wars featured Metternich exerting a large degree of influence over foreign policy in the Austrian Empire, a matter nominally decided by the Emperor. Metternich initially supported an alliance with France, arranging the marriage between Napoleon and Francis I's daughter, Marie-Louise; however, by the 1812 campaign, he had realised the inevitability of Napoleon's downfall and took Austria to war against France. Metternich's influence at the Congress of Vienna was remarkable, and he became not only the premier statesman in Europe but the virtual ruler of the Empire until 1848—the Year of revolutions —and the rise of liberalism equated to his political downfall. The result was that the Austrian Empire was seen as one of the great powers after 1815, but also as a reactionary force and an obstacle to national aspirations in Italy and Germany.

During this time, Metternich was able to maintain an elaborate balance between Prussia, the lesser German states, and Austria in the German Confederation. Thanks to his efforts, Austria was seen as the senior partner with Prussia keeping watch over Germany as a whole. Further, Metternich opposed the weakening of France in the years after Napoleon, and viewed the new monarchy in Paris as an effective tool in keeping Russia at bay. From 1815 to 1848, Metternich steered Austria Imperial foreign policy, and indeed the mood of Europe, and managed to keep peace on the continent despite the growing liberal and radical movements inside most major powers. His resignation in 1848, forced by moderates in the court, and revolutionaries in the streets, may have caused the spread of the revolutions throughout the monarchy. It is stipulated that Metternich's departure emboldened liberal factions in Austria and Hungary, but this cannot be confirmed for certain.

During the Crimean War, Austria maintained a policy of hostile neutrality towards Russia, and, while not going to war, was supportive of the Anglo-French coalition. Having abandoned its alliance with Russia, Austria was diplomatically isolated following the war, which contributed to Russia's non-intervention in the 1859 Franco-Austrian War, which meant the end of Austrian influence in Italy; and in the 1866 Austro-Prussian War, with the loss of its influence in most German-speaking land.