Akayed Ullah has been charged with providing material support to terrorists and using weapons of mass destruction, following a failed suicide bombing in New York on Monday.
Authorities say he set off a bomb underneath Times Square, in a busy passageway connecting a subway and the country’s largest bus terminal.
Only Ullah was seriously hurt in the blast, which detonated during the Monday morning rush hour but malfunctioned and resulted in panic and minor injuries for three people.
Law enforcement officials have said that Ullah looked at Islamic State propaganda online before the attempt, and later told investigators he was retaliating against US military aggression.
John Miller, deputy commissioner for counter terrorism and intelligence said Ullah, who was originally from Bangladesh, had not been on the FBI’s radar before Monday.
The suspect’s family have said they are heartbroken and deeply saddened by the suffering the attack has caused.
President Donald Trump said the bombing highlighted the need for an overhaul of what he said was a “lax” immigration system “which allows far too many dangerous, inadequately vetted people” into the country.
More from World
Oscar Pistorius injured in prison fight over phone
MS-13: The violent gang targeting rich US suburbia in Long Island
US ambassador: Trump’s Twitter attack on May ‘misinterpreted’
New Zealand bans vaginal mesh over safety fears
Just 10 rivers carry 90% of plastic polluting the oceans
Oumuamua: Mysterious interstellar object probed for signs of alien life
He called on congress to end “chain migration”, a term for family members joining relatives who have immigrated to the United States, and said those convicted of terror acts “deserve the strongest penalty allowed by law, including the death penalty.”