The Treaty of Hartford is an agreement concluded between New York and Massachusetts on December 16, 1786 in Hartford, Connecticut, over the ownership of the land which now comprises Western New York.