In conflict with New York Colony's claims west of the Hudson Valley, which placed the entire region in the sprawling Albany County, Pennsylvania Colony claimed much of the Southern Tier until 1774, while Massachusetts Bay Colony claimed all of the region west of Massachusetts to the Great Lakes. The Province of New York also claimed jurisdiction east to the Connecticut River. To pursue this claim north of Connecticut and Massachusetts, New York granted lands to settlers in what is now Vermont at the same time that New Hampshire made grants of the same lands. When Vermont declared independence in 1777, the new Republic of Vermont recognized the New Hampshire grants over those of New York. New Yorkers who lost land in Vermont came to be known as the "Vermont Sufferers" and were granted new lands in 1788 in the Town of Bainbridge, New York. The dispute with Massachusetts over lands to the west of Massachusetts was settled in the 1786 Treaty of Hartford by dividing the rights to the land. The treaty granted sovereignty to the State of New York, but granted to the Commonwealth of Massachusetts the "pre-emptive" right to seek title to the land from the Haudenosaunee. The eastern boundary of the Massachusetts lands was thus known as the Preemption Line. This line runs from the Pennsylvania line due north to Lake Ontario, passing through Seneca Lake. The line was surveyed a second time due to initial errors. The Commonwealth of Massachusetts sold this land in large tracts, including the Phelps and Gorham Purchase and the Holland Purchase. Many of the settlers of what then became Central and Western New York came from the New England states. The Central New York Military Tract, where many of the townships were given the names of classical military and literary figures by Robert Harpur, was established to grant land to Revolutionary War veterans. Some of Northern New York was founded by the hundreds of Canadian exiles who had fought in the First and Second Canadian Regiments of the Continental Army, who were banished from Canada due to their rebellion against the Crown. Battles of the War of 1812 (1812–1815) were fought on the Niagara Frontier, in the Champlain Valley, including the Battle of Plattsburgh, in the St. Lawrence Valley, and on Lake Ontario, including the Battle of Sackets Harbor. The city of Buffalo was razed by the British as well. After the war, the US Government began to construct Fort Montgomery just south of the border at Rouses Point on Lake Champlain. Subsequently, it was discovered that at that point, the actual 45th parallel was three-quarters of a mile south of the surveyed line, putting the Fort, which became known as "Fort Blunder", in Canada.