Question: where were the british defeated in the war of 1812

title: War of 1812
text: With the majority of their army in Europe fighting Napoleon , the British adopted a defensive strategy . American prosecution of the war effort suffered from its unpopularity , especially in New England , where it was derogatorily referred to as `` Mr. Madison 's War '' . American defeats at the Siege of Detroit and the Battle of Queenston Heights thwarted attempts to seize Upper Canada , improving British morale . American attempts to invade Lower Canada and capture Montreal also failed . In 1813 , at the Battle of Lake Erie the Americans won control of Lake Erie and at the Battle of the Thames , defeated Tecumseh 's Confederacy , securing a primary war goal . At sea , the powerful Royal Navy blockaded American ports , cutting off trade and allowing the British to raid the coast at will . In 1814 , one of these raids burned the capital , Washington , although the Americans subsequently repulsed British attempts to invade New England and capture Baltimore . 

Answer: answer: In 1813, at the Battle of Lake Erie the Americans won control of Lake Erie and at the Battle of the Thames, defeated Tecumseh's Confederacy, securing a primary war goal.  In 1814, the Americans repulsed British attempts to invade New England and capture Baltimore.