The War of 1812 was a conflict between the United States and Great Britain that lasted from 1812 to 1815, and is seen as a key moment for Canadian identity formation and national unity. The war's outcome fostered a sense of shared purpose among the diverse groups in Canada, including French Canadians, Indigenous peoples, and British settlers, who united against a common enemy. This collective experience not only strengthened their identities but also laid the groundwork for the development of a distinct Canadian nationalism.