A man described as a homegrown terrorist is behind bars accused of plotting to bomb post offices, police cars and a police station in Bayonne, New Jersey.

Cops say 27-year-old Jose Pimentel of Hamilton Heights was arrested Saturday as he was about to finish making three pipe bombs to be used in his planned attack. He planned to test the bombs by detonating mailboxes before begining his all out bombing campaign according to police commissioner Ray Kelly.

The commissioner says Pimentel also talked about killing U.S. military personnel returning home from Iraq and Afghanistan, particularly Marines and Army personnel.

Pimentel, a native of the Dominican Republic and a naturalized American spent much of his life in Manhattan but did spend five years in upstate Schenectady.

Prosecutors say Pimentel is an al Qaeda sympathizer who also goes by the name Muhammad Yusef.

Comissioner Kelly says the NYPD first became aware of Pimentel two years ago while he was living in Schenectady and talking about traveling to Yemen for training before returning to New York to become a martyr in the name of Jihad.

Kelly says he also talked of changing his name to Osama Hussein to celebrate his heroes Osama Bin Laden and Saddam Hussein.

Pimmentel was also a follower of the notorious American-born terrorist Anwar el Awlaki, and according to Kelly may have stepped up his efforts to build the bombs and strike after Awlaki was killed in a drone attack.

Pimentel faces a number of charges including criminal possession of a weapon in the first degree as a crime of terrorism. He is being held at the Manhattan Detention Center without bail.

Pimmentel's next court date is Friday.