The Treaty of Ghent ended the war in 1814 and re-established 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 100 mi or 160 km south of where this line was eventually negotiated to end) was rejected.