The War of 1812 was fought by the United States and its allies against the United Kingdom and its allies in North America. It began when the United States declared war on Britain on 18 June 1812. Although peace terms were agreed upon in the December 1814 Treaty of Ghent, the war did not officially end until the peace treaty was ratified by the United States Congress on 17 February 1815.
The Battle of the Thames, also known as the Battle of Moraviantown, was an American victory in the War of 1812 against Tecumseh's Confederacy and their British allies. It took place on October 5, 1813, in Upper Canada, near Chatham. The British lost control of Southwestern Ontario as a result of the battle; Tecumseh was killed, and his confederacy largely fell apart afterwards.