The suspect, wearing a gas mask, had filled a crowded subway car traveling to Brooklyn with thick black smoke from a canister and opened fire on rush hour passengers last Tuesday, injuring more than 20, 10 of them by gunfire. Frank James, the man accused of one of the most violent attacks on the city’s public transportation system, was arrested in Manhattan’s East Village district on Wednesday after a 30-hour search that helped a barrage of hints from the public. James, 62, also called the police hotline to surrender, helping to arrest him, according to his lawyers. “We appreciate all those who responded to our call for information on the location of this suspect, including anyone whose advice has not been disclosed,” said City Police Commissioner Keechant Sewell. He added: “We urged the public to join us in this effort to find this suspect and the New Yorkers intensified.” James, 62, is accused of injuring 30 people by firing smoke and spraying himself inside a subway car. No one was killed, but the injured passengers climbed onto the platform and collapsed, as other members of the audience and then the first correspondents went to help them after the train entered the station. Other passengers ran from the subway station and police and investigators flooded the area in Brooklyn’s Sunset Park neighborhood. All the injured were expected to survive. Another 20 were injured by smoke canisters or by a commotion, according to prosecutors. The NYPD said its detectives used the flow of public advice to create a timeline of events that helped locate James. From the people who gave advice, five were selected whose “information directly contributed” to the arrest of the suspect. The NYPD did not identify the five people who will distribute the reward evenly, which consists of funds from the Metropolitan Transportation Authority, the Transport Workers Union Local 100 and the New York City Police Department.