The War of 1812 was fought between the United States and Great Britain, with some Native American tribes allied with each side. Canada, as a British colony, was part of the war, but its troops did not participate in the burning of the White House.
The White House was set ablaze by British troops under the command of Major General Robert Ross on August 24, 1814, during the Battle of Bladensburg. The British had invaded the United States from Canada and were marching on Washington, D.C., the capital city. The American forces were defeated at Bladensburg, and the British troops entered Washington unopposed.
After occupying the city, the British troops set fire to a number of public buildings, including the White House, the Capitol, and the Treasury Building. The White House was completely gutted by the fire, and it was not rebuilt until 1818.
The burning of the White House was a significant event in the War of 1812, and it symbolized the British victory in the war. However, it is important to note that Canadians were not involved in this event.