Question: when were the subways built in new york city
Answer: The first underground line opened on October 27 , 1904 , almost 35 years after the opening of the first elevated line in New York City , which became the IRT Ninth Avenue Line .