The man who has been accused of injuring 23 people in a mass shooting and smoke bomb attack is now being tried for his crimes.

NBC News reports on Friday, 62-year-old Frank James pled not guilty to committing a terrorist attack or other violence against a mass transportation system and discharging a firearm during a violent crime, both of which carry a maximum sentence of life in prison. His lawyer, Mia Eisner-Grynberg chose not to have James released on bail.

The attacks took place on April 23, with the shooting occurring in a New York subway and the smoke bomb attack on a train headed for Brooklyn. The mass shooting resulted in 10 people being shot on a Manhattan-bound N train in the Sunset Park neighborhood in Brooklyn. Thirteen people were also injured as commuters attempted to escape the mayhem. Fortunately, no one died in either attack.

James was arrested around 30 hours later after he turned himself into the NYPD. It’s unknown why he launched the attack. Videos he shared on YouTube show him ranting about New York City’s homeless problem and Mayor Eric Adams.

There has been a spike in violent attacks in NYC’s subway system, with people being pushed onto subway tracks, or getting stabbed or attacked in other ways.

James will be back in court on July 25.