"Trump you failed to protect your nation," the Islamic State-inspired Bangladeshi-origin man wrote on Facebook before detonating a pipe bomb in a Manhattan subway station, according to a complaint filed in a US court.
Akayed Ullah, the 27-year-old suspected bomber, had wires and a pipe bomb strapped to his body. The device exploded prematurely yesterday between two subway platforms near Port Authority, which is America's largest bus terminal.
Ullah is reported to be in a serious condition in hospital after suffering burns in the explosion. Three other people suffered minor wounds in the blast during rush hour.
The suspect posted a statement indicating allegiance to IS on Facebook before the attack.
"Trump you failed to protect your nation," accused Ullah wrote on Facebook on Tuesday morning.
On his Facebook page, Ullah also posted a statement that he believed would be understood by members and supporters of the Islamic state to convey that he carried out the attack in the name of IS.
A passport in the name of Akayed Ullah with multiple handwritten notations, including: "O AMERICA, DIE IN YOUR RAGE," was also recovered from his home.
The suspect was taken into custody after the device partially exploded.
Ullah has been charged on five counts, including providing material support and resources to terrorist organisations, use of weapons of mass destruction, bombing a place of public law, destruction of property by means of explosive and use of destructive device.