Question: who were involved in the war of 1812
Answer: United States , the United Kingdom , and their respective allies .