Stamford was known as Rippowam by the Native American inhabitants to the region, and the very first European settlers to the area also referred to it as such. The name was later changed to Stamford after a town in Lincolnshire, England. The deed to Stamford was signed on July 1, 1640 between Captain Turner of the New Haven Colony and Chief Ponus. By the Eighteenth century, one of the primary industries of the town was merchandising by water, which was possible due to Stamford's proximity to New York. In 1692, Stamford was home to a less famous witch trial than the well-known Salem witch trial, which also occurred in 1692. The accusations were less fanatical and smaller-scale but also grew to prominence through gossip and hysterics. Starting in the late 19th century, New York residents built summer homes on the shoreline, and even back then there were some who moved to Stamford permanently and started commuting to Manhattan by train, although the practice became more popular later. Stamford incorporated as a city in 1893.