The man who tried to carry out a terrorist attack on a New York City subway Monday morning is of Bangladeshi-decent and had been living in Brooklyn for the last several years, according to authorities.

Akayed Ullah, 27, is the man police say equipped himself with two 'low tech' improvised bombs including the small pipe bomb that went off shortly before 7:30 a.m. Governor Andrew Cuomo told CNN Ullah did intentionally detonate the device, but that it only partially exploded. Reports say five people suffered minor injuries, and it appears Ullah got the worst of it - bad burns along with lacerations from the screws and nails he stuffed the bomb with.

Via NYC councilman on Twitter:

The New York Post says the suspect had been working for an electrical company. Other reports say he'd previously spent several years as a cab driver until his license expired in 2015.

Ullah pledged allegiance to ISIS, he reportedly told police, while the NY Post reports he was seeking revenge for 'decades of violence against Muslims in Gaza, Syria and Iraq.'

Authorities called the attack 'low tech' which seems to reflect the clumsily composed explosives (and thank God they were), along with reports he strapped he device to his body with velcro and zip-ties.

He carried out his foiled plot near Times Square and the Port Authority subway terminal that sees nearly a quarter of a million riders each day.

CNN reported Ullah had lived in a basement apartment with his brother and sister.

It remains unclear exactly what charges he will face.

More From WIBX 950