Yes, this was called the Webster-Ashburton Treaty. The Webster–Ashburton Treaty, signed August 9, 1842, was a treaty that resolved several border issues between the United States and the British North American colonies (the region that became Canada).