The Treaty of Hartford of 1786 settled the western boundary between Massachusetts and New York at the modern largely north–south east of the Hudson River (except for Boston Corners, which was transferred later).[1][2] As part of the treaty, New York gained undisputed sovereignty over the area, but granted the Commonwealth of Massachusetts the right to purchase the property rights from the local Indians. This right was subsequently purchased in the same year by a company of Boston investors (originally 11, later 60) named the Boston Purchase Company. One of the investors, Colonel Avid Pixley, came to the area to negotiate with the native inhabitants for the land rights. Most of the investors actually settled in the area, and were soon able to extinguish the Indian claims by purchase from the Oneida; one half-township of Owego (including the village) had already been acquired from the Oneida by James McMaster; some delicate negotiations led to his claim being recognized as the McMaster Patent.