NEW YORK –  A Bangladeshi immigrant was indicted Wednesday in the failed pipe bombing of the New York subway system last month.

Akayed Ullah faces numerous charges including providing material support to a terrorist organization, using a weapon of mass destruction and bombing a place of public use and a public transportation system.

Ullah, 27, was the only person seriously hurt in the Dec. 11 attack. He was arrested soon after the pipe bomb failed to fully explode, though he was initially hospitalized after suffering burns. He remains held without bail at a lockup next to the federal court complex in lower Manhattan.

His lawyer did not immediately comment. Ullah was scheduled for arraignment Thursday.

Ullah could face life in prison if he is convicted of all charges in the attack, which occurred in a pathway linking the subway to the Port Authority bus terminal in Manhattan.

Authorities said Ullah taunted President Donald Trump on Facebook before the attack. The president later demanded tightened immigration rules.

They also said in court papers that he admitted he wanted to cause carnage to avenge U.S. aggression toward the Islamic State group.

His initial appearance before a federal magistrate judge came via a monitor, which showed images of him in his hospital bed, flanked by his publicly appointed lawyers.