The longest border is with the Canadian province of Manitoba to the west for approximately 1025 kilometers along a line defined as the Northwesternmost point of the Lake of the Woods to latitude 52°50' N then a diagonal line to the point where the shore of Hudson Bay meets the 89th meridian west of Greenwich.