The southwestern border of Connecticut, where it abuts New York State, is marked by a panhandle in Fairfield County, containing Greenwich, Stamford, Fairfield, Westport, Wilton, and Darien, housing some of the wealthiest residents in the world. This irregularity in the boundary is the result of territorial disputes in the late 1600s, culminating with New York giving up its claim to this area, whose residents considered themselves part of Connecticut, in exchange for an equivalent area extending northwards from Ridgefield, Connecticut to the Massachusetts border as well as undisputed claim to Rye, New York.