Question: what two countries fought each other in the war of 1812?
Answer: War of 1812, (June 18, 1812–February 17, 1815), conflict fought between the United States and Great Britain over British violations of U.S. maritime rights. It ended with the exchange of ratifications of the Treaty of Ghent.