CINCINNATI — A 20-year-old Ohio man charged with plotting an attack at the U.S. Capitol was ordered held without bond Friday after a federal magistrate concluded he was a danger to the community.

Christopher Lee Cornell appeared before U.S. Magistrate Judge Stephanie Bowman in a brief detention hearing Friday afternoon. He was brought to the federal courthouse in downtown Cincinnati under tight security from the jail some 30 miles away where he’s been held since after his arrest Wednesday outside a gun shop. Cornell planned to “wage jihad” by attacking the Capitol with pipe bombs and shooting government officials and employees, the FBI said in court documents.

“I feel that the danger to the community is such that I cannot order bond today,” Bowman said, noting that messages attributed by federal authorities to Cornell had him discussing extreme violence.

She agreed with the recommendation by Tim Mangan, an assistant U.S. attorney, who called Cornell a flight risk and a danger to the community for allegedly creating the kind of terrorist plot that “is the most pressing threat to our public safety.”

An assistant federal public defender, Karen Savir, had asked that Cornell be released with electronic monitoring to his parents’ apartment in suburban Cincinnati. She said he had no history of serious trouble and didn’t even have a passport.

She added that he was “eager to appear in court” to defend against the allegations.

She also told Bowman that Cornell wants to be addressed by his Muslim name, Raheel Mahrus Ubaydah, and have access to a prayer mat and a clock so that he can continue his religious practices in the Butler County Jail. He also wants to be taken off suicide watch, she said.

His parents and other family members were in the front row and were warned to be quiet after shouts including “Love you, Chris!”