The War of the Fifth Coalition ended with the Treaty of Schönbrunn (14 October 1809). In the east, only the Tyrolese rebels led by Andreas Hofer continued to fight the French-Bavarian army until finally defeated in November 1809. In the west the Peninsular War continued. Economic warfare between Britain and France continued: The British continuied a naval blockade of French-controlled territory. Due to military shortages and lack of organisation in French territory, many breaches of the Continental System occurred and the French Continental System was largely ineffective and did little economic damage to Great Britain. Both sides entered further conflicts in attempts to enforce their blockade. As Napoleon realised that extensive trade was going through Spain and Russia, he invaded those two countries.; the British fought the United States in the War of 1812 (1812–15).