The Treaty of Ghent ended the war in 1814 and reestablished the boundary line of the 1783 treaty. A commission was appointed which resolved most of the issues surrounding the islands (Machias Seal Island continues to be formally disputed between the United States and Canada). A recommendation by the British commissioner that the northward line to the highlands end at Mars Hill (about south of where this line was eventually negotiated to end) was rejected.