<Table> New York and Harlem Railroad <Tr> <Td_colspan="2"> New York and Harlem Railroad (red) and New York Central system (orange) as of 1918 </Td> </Tr> <Tr> <Th> Locale </Th> <Td> New York </Td> </Tr> <Tr> <Th> Dates of operation </Th> <Td> 1832--1873 (main line) 1832--1896 and 1920--1935 (streetcars) </Td> </Tr> <Tr> <Th> Successor </Th> <Td> New York Central Railroad (north of 42nd Street) New York City Railway (south of 42nd Street) </Td> </Tr> <Tr> <Th> Track gauge </Th> <Td> 4 ft 8 ⁄ in (1,435 mm) standard gauge </Td> </Tr> </Table> <Tr> <Td_colspan="2"> New York and Harlem Railroad (red) and New York Central system (orange) as of 1918 </Td> </Tr> <Tr> <Th> Locale </Th> <Td> New York </Td> </Tr> <Tr> <Th> Dates of operation </Th> <Td> 1832--1873 (main line) 1832--1896 and 1920--1935 (streetcars) </Td> </Tr>

Who owned the new york and harlem railroad and the hudson railroad during the late 1800s