An AWOL soldier who allegedly plotted a bombing attack on fellow soldiers near Fort Hood Army post in Texas appeared in court today and yelled out the name of the man accused of a 2009 shooting rampage that killed 13 people at the same Army post.

Naser Abdo, 21, was formally charged in federal court in Waco with possession of an "unregistered destructive device'' that was allegedly to be used in the assault, USA TODAY's Kevin Johnson reports.

Three US Marshals escorted Abdo in handcuffs from the courthouse. Abdo was in an all white uniform, he wasn't listening to orders and refused to stand for the judge, reports say.

As Abdo left the court house he looked at the media and yelled out, "Abeer Quassim al Janvi," the name of the 12-year-old girl that was raped in Iraq in 2006 by soldiers in the 101 Airborne Division from Fort Campbell.

As three U.S marshals escorted Abdo in handcuffs from the courtroom, he looked at reporters and yelled out the name of an Iraqi girl raped by a U.S. soldier in 2006.

Then he yelled, "Nidal Hasan, Fort Hood 2009," the Army psychiatrist who is charged with the shootings at the post.

Abdo, who had requested conscientious objector status because his Muslim beliefs prevented him from fighting in Iraq and Afghanistan, refused to stand up when asked to in court, KCEN-TV reports.

Abdo was arrested Thursday at a motel in Killeen, Texas, near the Army post after a gun store clerk tipped police that he had bought six canisters of gunpowder and some shotgun shells and was acting suspiciously, the Killeen Daily Herald reports.

According to the federal complaint, the Fort Campbell, Ky., infantryman intended to assemble and detonate two devices inside an unspecified restaurant frequented by soldiers from Fort Hood.

In a search of his motel room, federal investigators recovered a number of bombmaking components, including six bottles of smokeless gunpowder, shotgun shells, two clocks, spools of wire, an electric drill and two pressure cookers.

Under questioning by federal agents, Abdo "admitted that he planned to assemble two bombs in the hotel room using gunpowder and shrapnel packed into pressure cookers to detonate inside an unspecified restaurant frequented by soldiers from Fort Hood,'' the court documents state.

If convicted, Abdo could face up to 10 years in prison and a $250,000 fine.