The Treaty of Schönbrunn (French: Traité de Schönbrunn; German: Friede von Schönbrunn), sometimes known as the Treaty of Vienna, was signed between France and Austria at Schönbrunn Palace near Vienna on 14 October 1809. The treaty ended the Fifth Coalition during the Napoleonic Wars, after Austria had been defeated at the decisive Battle of Wagram on July 5/6.
During the Peninsular War and the Spanish resistance against Napoleon, Austria had tried to reverse the 1805 Peace of Pressburg by sparking national uprisings in the French-occupied terriories of Central Europe (most notably the Tyrolean Rebellion against Napoleon's Bavarian allies).
These attempts ultimatively failed, after French forces occupied Vienna in May 1809. The Austrians under Archduke Charles were able to repulse them at the Battle of Aspern on May 21/22, however, Napoleon withdrew his forces and crushed Charles' army at Wagram a few weeks later. The archduke had to sign the Armistice of Znaim on July 12. In October, Austrian Foreign Minister Johann Philipp Stadion was superseded by Klemens von Metternich.