In recent months, James railed in videos on his YouTube channel about racism and violence in the U.S. and about his struggles with mental health care in New York City, and he criticized Adams’ policies on mental health and subway safety. But the motive for the subway attack remains unclear, and there’s no indication James had ties to terror organizations, international or otherwise, Peace said.

The man accused of shooting 10 people on a Brooklyn subway train was arrested Wednesday and charged with a federal terrorism offense after the suspect called police to come get him, law enforcement officials said, according to AP.

Frank R. James, 62, was taken into custody about 30 hours after the violence on a rush-hour train, which left people around the city on edge.

“My fellow New Yorkers, we got him,” Mayor Eric Adams said.

James was due to appear in court Thursday on a charge that pertains to terrorist or other violent attacks against mass transit systems and carries a sentence of up to life in prison, Brooklyn U.S. Attorney Breon Peace said.

© Copyright LaPresse