Under federal policy designed to extinguish the states' Revolutionary War debts, the states were required to extinguish their western land claims. Massachusetts extinguished its claim to the territory in exchange for receiving the profits from its sale to settlers. New York was the only colony not to extinguish its western claim, and by way of the 1786 Treaty of Hartford, the land, with the exception of a small triangle that was ceded to Pennsylvania in 1792, officially became Western New York. (Had New York extinguished its claim, it would have likely become part of the Northwest Territory established the next year and formed part of a new state.) Native title, with the exception of several reservations, was extinguished in the Treaty of Canandaigua in 1794, while the Phelps and Gorham Purchase and Holland Purchase opened the territory for settling. During the War of 1812 Western New York was part of the borderland frontier between the United States and British Canada and became the scene of various military actions.