Ten people were shot and wounded and 12 others were treated for smoke inhalation and other injuries on Tuesday when a gunman fired smoke grenades at a packed subway car before firing 33 shots with a 9mm pistol. Frank James, 62, was taken into custody in Manhattan and charged Wednesday. He had called the New York police hotline earlier in the day to tell authorities he was inside a McDonald’s and to come pick him up. Department chief Kenneth Corey said James had left when police arrived at the restaurant, but soon located him in a nearby corner. Image: Frank James is pictured after his arrest by the police Breon Peace, the U.S. Attorney for the Eastern District of New York, announced the federal terrorism charge at a news conference shortly after his arrest. Brooklyn prosecutor Breon Peace said the charge carries a sentence of up to life in prison. Investigators announced Tuesday afternoon that they were looking for James, who is believed to have rented a truck that may have been linked to the incident. Read more: What is known about Frank James? Image: Passengers leave the subway car during the attack. Photo: AP Police are trying to determine the motives Authorities have launched an adventurous video full of profanity on social media, in which James denounced the United States as a racist violent party and protested against New York City Mayor Eric Adams. The videos contain violent language and fanatical comments. Police are examining the videos to find a possible motive. In a video released the day before the attack, James criticized the crime against blacks and said action was needed. “You have kids going here now they take machine guns and cut innocent people,” says James. “It’s not going to improve until we improve,” he said, adding that he believed things would only change if some people were “trampled, kicked and tortured” out of their “comfort zone.” Image: Smoke billowed from train doors during the attack How a U-Haul key connected the gunman to the tent Five victims of the shootings remain in critical condition, but all 10 injured are expected to survive. The gunman escaped into chaos at 36th Street Station, but left behind many clues, including a gun, ammunition cartridges, an ax, smoke grenades, gasoline and the key to a U-Haul van. It was this key that led the researchers to James, a local in the New York area. The gun allegedly used in the shooting was purchased by James at a pawnshop – an authorized firearms dealer – in Columbus Ohio in 2011. Image: Police and security officers patrol the Manhattan subway The van was found empty near a station, where investigators found that the gunman had entered the subway system. No explosives or firearms were found in the van. Police found other items, including pillows, suggesting he may have been sleeping or planning to sleep in the van. Surveillance video shows James driving from Philadelphia and leaving the van early Tuesday morning. Other footage shows him entering the Brooklyn subway station with a large bag. “It was blood, smoke and screams” Sam Carcamo, a witness, told a local radio station that he saw huge smoke billowing from the train as soon as the door opened. Image: Officers with dogs detecting bombs look at the area “My subway door opened in disaster. It was smoke and blood and people were screaming,” he said. A video recorded by a passerby shows people lying on the subway platform surrounded by small puddles of blood, as a loudspeaker announcement tells everyone to get on a train.