New York City needed a subway system. After four years of digging and diverting miles of utilities and tunneling under the Harlem River, the city's residents celebrated a new era in mass transit on October 27, 1904, with the opening of a nine-mile subway route.