The Webster-Ashburton eaty was signed on August 9, 1842, in Maine, which solved several of the issues between the US and British North America, today Canada. This is a dispute over the location of the Maine-New Brunswick border. The boundary between Lake Superior and Lake of the Wood was established, at 49 parallels. The US gained a larger area of 7015 square miles, while Britain gained 5012 square miles. According to a map showing how both of them laid claim to the territory, the US got more. The British territory was smaller than that of the US.
The territory, as these things go, was reasonably divided. The British got slightly less (about 2000 square miles from an area of under 10000 square miles), but what they did get -- especially moving west and east, was much needed.
What was most impressive was that this was a non-violent" war. It had many provisions (extradition was one of them) which by and large have been obeyed, but one of the main things was this treaty set the tone for 64/40 question out west (Oregon) which could have erupted into a very bloody mess. The border between Canada and the US is the longest (about 9000km) in the world and by and large it is peaceful.