Despite military defeats—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.