On August 9.1842 ; The Webster–Ashburton Treaty is signed, establishing the United States–Canada border east of the Rocky Mountains.