The city of Stamford, located in Fairfield County at the southwestern tip of the state, is the fourth-largest city in Connecticut and is considered a part of the Greater New York metropolitan area. Settled by families from Wethersfield, Stamford incorporated as a borough in 1830, and later as a city in 1893. By the 18th century, Stamford was a successful commercial center—attributed largely to its canal and harbor which shipped and received goods with New York and the West Indies. Today, Stamford is known primarily as a suburb of New York City and home to the headquarters of numerous corporations.