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 territories of Central Europe (most notably the Tyrolean Rebellion against Napoleon's Bavarian allies).