The New York and Harlem Railroad (now Metro North) was incorporated in 1831 to better link the city with Harlem and Westchester County, starting at a depot at East 23rd Street, and extending 127 miles north to a railroad junction in Columbia County at Chatham, New York by 1851.