Frank R. James was taken into custody in Manhattan's East Village neighborhood, officials announced.

*Updated on April 13 at 12:41 p.m. MT:

At least 23 people were injured on Tuesday morning when a man donned in a worker's vest and gas mask opened a smoke canister on a subway car in Brooklyn and then proceeded to open fire.

The shooting occurred just before 8:24 a.m., on train N as it pulled into the 36th Street Station in the Sunset Park neighborhood, said Police Commissioner Keechant L. Sewell.

New York City Police have been working with the FBI's Joint Terrorism Task Force and Bureau of Alcohol, Tobacco, and Firearms on the case. They've identified the suspect as Frank R. James, 62. He was the lone suspect in the shooting.

He has since been arrested, officials announced in a press conference on Wednesday afternoon.

Authorities said James was stopped on the street at 1:42 p.m. ET and taken into custody after police received a Crimestoppers tip about his location.

Police found a key to a U-Haul van among James' belongings at the scene of the shooting, later finding the van parked near the subway station where he boarded the train. It was determined that James rented the van in Philadelphia.

James had posted a series of disturbing videos online, including one that mocked Maylor Eric Adams' efforts to reduce crime within the subway system.

*This is an ongoing story and will be updated as we learn more. Stay with OurCommunityNow.com for the latest!