Question: who did america fight in the war of 1812
Answer: The War of 1812 was a conflict fought between the United States , the United Kingdom , and their respective allies from June 1812 to February 1815 .