New York metropolitan area passed through ports in New York or in one of the surrounding towns. The five boroughs of New York City — The Bronx, Brooklyn, Manhattan, Queens, and Staten Island — were consolidated into a single city in 1898. The newly unified New York City encouraged both more physical connections between the boroughs and the growth of bedroom communities. The New York City Subway began operating in 1904 as the Interborough Rapid Transit Company, one of three systems (the other two being the Brooklyn-Manhattan Transit Corporation and the Independent Subway System) that were later taken over by the city. Railroad stations
History of New York City (1855–1897) movement of the 1950s. Pre-war steam ferries had already made Brooklyn Heights into a bedroom community for affluent professionals on Wall Street and other urban areas. Elevated railroads, operated by the Manhattan Railway Company, and other new public transport expanded the commuter area of New York, allowing development of suburbs for commuters of more modest means in Upper West Side and other distant areas. Plans were made for subways to still more remote exurbs such as Harlem and the West Bronx. In the late 19th century, the island's schist bedrock encouraged the early skyscrapers whose successors characterize its skyline today.