Suspected Brooklyn Subway Gunman Is in Custody The suspect in the subway shooting has been arrested, officials say. 

A 62-year-old man, Frank R. James, was arrested in connection with the mass shooting on a subway train in Brooklyn, in which at least 23 people were injured. 

Frank R. James, who law enforcement officials say perpetrated the worst attack on New York’s subway system in years, was taken into custody Wednesday 

more than 24 hours into an expansive search that began after at least 10 people were shot at a Brooklyn train station. 

“We got him,” said Mayor Eric Adams, the first official to speak at an afternoon news conference. “We got him.” 

Mr. James was arrested in the East Village, officials said and was charged in a criminal complaint with committing a terrorist act on a mass transit system.  

Breon S. Peace, the U.S. attorney for New York’s Eastern District, which brought the charges, said that Mr. James could face life in prison if convicted. 

Mr. James, 62, wore a solid blue shirt and dark pants as he was led in handcuffs out of the Ninth Precinct on East Fifth Street Wednesday afternoon 

He is expected to appear in federal court on Thursday. A court-appointed lawyer for Mr. James did not immediately respond to requests for comment. 

Mr. James has been apprehended thanks to a tip that came in from a McDonald’s near Sixth Street and First Avenue, officials said. 

According to two law enforcement officials with knowledge of the investigation, it appeared that Mr. James had called the police tip line on himself. 

“We were able to shrink his world quickly,” said New York’s police commissioner, Keechant Sewell. “There was nowhere left for him to run.” 

The capture unleashed a cascade of videos and tweets from people who witnessed the arrest or said they helped identify Mr. James 

ended a manhunt that began at rush hour on Tuesday morning, after a shooting in the Sunset Park subway station left at least 23 people injured. 

Mr. James had many arrests in his past, officials said, including nine in New York, mostly for misdemeanors, and three in New Jersey.