(CNN) — Frank James, the man accused of opening fire on a Brooklyn subway last month, has been charged on two federal counts.
According to a charge filed Friday, James was charged with one count of terrorist attacks and other assault against a mass transportation system and one count of firing a firearm during a violent crime.
READ MORE: Wife of seriously injured tow truck driver pleads for justice after husband is ambushed at work in Chester
The mass shooting left 10 people with gunshot wounds and 19 others injured. According to authorities, the suspect put on a gas mask, inserted a gas cylinder and started shooting, firing at least 33 times. James was arrested the day after the shooting. Details about a possible motive have not been released.
CNN has reached out to its attorney for comment.
James, who has a long criminal history, was linked to YouTube videos in which he spoke of violence and mass shootings.
Many of the videos James uploaded contained references to violence, including a particular group of people he believed had defamed him, as well as broad social and racial groups that he seemed to hate.
READ MORE: Marine Corps Holds 12th Annual Meeting of Heroes Event in Philadelphia
In a video posted online in February, he criticized a plan by New York City Mayor Eric Adams to tackle safety and homelessness on the subway, in part due to a greater presence of mental health professionals.
In that racist and incoherent recording, James, who is black, said the new effort was “doomed to failure” and described his own negative experience with city health workers during a previous “mental health crisis”.
In another video, James complained about abuse in churches and racism in the workplace, using misogynistic and racist language. In his videos, he repeatedly harbored hatred of African Americans.
If convicted on the federal counts, James would face a maximum life sentence for each count.
MORE NEWS: Philadelphia weather: storm brings rain, high winds and coastal flooding for Mother’s Day
The-CNN-Wire™ & © 2022 Cable News Network, Inc., a WarnerMedia company. All rights reserved.