The 29-year-old Moroccan man who allegedly plotted a suicide bombing at the U.S. Capitol took part in a brief hearing Wednesday at the federal courthouse in Arlington, Va., during which he was ordered by a federal judge to remain in custody.

Amine El Khalifi, who was arrested last Friday, was nabbed in an FBI sting operation and is alleged to have plotted a shooting rampage and suicide bombing in Washington, D.C.

During the hearing, he spoke for himself and waived his rights to a preliminary hearing and a detention hearing.

Federal magistrate John Anderson ordered that El Khalifi remain in custody because of the “serious charges” while he awaits indictment by a grand jury.

El Khalifi was seen in court wearing a green jumpsuit and faced the judge during the entire course of a hearing that wrapped up within minutes.