U.S. Army soldier Naser Jason Abdo
U.S. Army soldier Naser Jason Abdo, 21, is pictured in this police booking photograph released on July 28, 2011. Abdo, arrested with bomb-making materials near Fort Hood, Texas, planned to attack military personnel, Killeen Police Chief Dennis Baldwin said on Thursday. REUTERS/Ho New

The man accused of planning an attack on Ft. Hood soldiers was in a motel room in Killeen this week with a 40-caliber gun and bomb-making ingredients, authorities said. Abdo was charged Friday with possession of an unregistered destructive device and could face up to 10 years in prison and $250,000 in fines if convicted.

Pfc. Naser Jason Abdo appeared Friday in U.S. District Court in Waco. The army private shouted his inspiration for what authorities said was a plot to set off two bombs at a restaurant outside of the Ft. Hood military base.

"Nidal Hasan - Ft. Hood 2009!" he shouted in a reference to the army major and psychiatrist and fellow Muslim who was charged with going on a rampage that killed 13 people at the base almost two years ago.

"Thank God nothing bad happened. Thank God no lives were lost." Suraiya Rabbani, a school counselor who's lived here for two decades, reported the Los Angeles Times. Abdo said that he was opposed to the wars in Iraq and Afghanistan because they were inconsistent with his Muslim beliefs.

Abdo was approved as a conscientious objector for discharge from the army when he was stationed at Fr. Campbell, Ky. but the discharge was put on hold when he became accused of with possession of child pornography. He was absent without leave since early July.

According to court papers, authorities said that they found smokeless gunpowder, shotgun shells and pellets, two clocks, two spools of auto wire, an electric drill and two pressure cookers. They also found epoxy, glue, tape, gloves, a battery and Christmas lights.

Court papers said that Abdo "admitted that he planned to assemble two bombs in the hotel room using gun powder and shrapnel packed into pressure cookers."

A do not disturb sign hung on the door of his motel room.