The signing of the Treaty of Ghent in 1814 ended the war and returned the borders to their pre-war state.
War of the Pigs and Beans
But turbulent times returned in 1837. After the failure of a popular uprising in Upper Canada (present-day Ontario), the rebel leaders fled to the United States and gained considerable support for their republican aspirations there. The refugees and their American supporters formed secret organizations known as "Hunter Lodges" whose goal was to free Canada from British rule.
8,891 kilometers is the length of the border between investor database and the United States , the longest border in the world between two countries.
A dispute over territory between the states of Maine and New Brunswick escalated into conflict in the winter of 1838. It began as a dispute between lumberjacks, but as tensions escalated, American President Martin Van Buren sent troops to the disputed area and ordered the creation of a 50,000-strong army in case of invasion.
But it ended with American militias building forts along the border and shooting at effigies of Queen Victoria as targets. The conflict, which was also called the "pork and bean war" because of the popular diet of local lumberjacks, ended without casualties and with the settlement of the Maine-Canada border by the Webster-Ashburton Treaty of 1842.
Again the pig and Wilhelm I
In 1859, the United States and Canada almost went to war again over a dead hog. An American farmer killed a large black pig belonging to the Hudson's Bay Company of Canada. It had been eating potatoes in his garden on San Juan Island, land off the coast of Washington that was claimed by both the United States and Canada. The British threatened to arrest the farmer and evict him and 17 of his fellow countrymen. The American army then sent 64 soldiers to the island, and the British sent several warships. For 10 years, both sides peacefully occupied the island, until in 1872 an arbitration commission appointed by German Kaiser Wilhelm I ruled that the entire San Juan archipelago was American territory.