Updated

The man who bought the assault rifles his friend used in the San Bernardino massacre will remain in custody as he faces terrorism-related allegations because he is a danger to the community, a judge ruled Monday.

Enrique Marquez, 24, appeared before U.S. Magistrate Judge David Bristow in federal court in Riverside, about 10 miles from the attack carried out by longtime friend Syed Farook and Farook's wife.

"The defendant actively conspired with the decedent Mr. Farook for purposes of participating in a terrorist act in this nation," Bristow said, adding that Marquez got two weapons under false pretenses and obtained smokeless powder that Farook used to create improvised explosive devices.

"The grave threat presented to the community by that conspiracy was demonstrated on December 2 when Mr. Farook and his wife committed a terrorist act on the Inland Regional Center. ... He continues to present that danger to the community," Bristow said.

But the judge found that Marquez didn't pose a flight risk because he has spent his life in Southern California, has no criminal history and his family was willing to put up $100,000 in equity on their home for bail.

More On This...

Marquez's mother and brother came into the courtroom as the hearing was nearing its end. They sat in the front row and watched quietly and declined to talk to reporters afterward.

Earlier, Marquez shuffled into court with his ankles and hands cuffed, his thick frame filling out a white jumpsuit. He had a slight smile and at times whispered and nodded with his attorneys. At other times, he appeared bored, swiveling his chair from side to side and looking at the ceiling. A U.S. marshal sat close behind him.

Marquez is charged with conspiring to provide material support to terrorists in abandoned plans for attacks in 2011 and 2012. The count stems from plans Marquez had with Farook to use pipe bombs and guns to kill people at the college they attended and those stuck in rush-hour traffic on a California freeway, prosecutors say in court documents. The plots fizzled, and they never acted.

Marquez also is charged with illegally buying the rifles the shooters used in the attack and visa fraud stemming from his marriage to a Russian woman that prosecutors say was a sham. He faces up to 35 years in prison if convicted of all the charges.

His court-appointed attorney has declined to comment. Marquez's mother has called him a good person who was nothing more than friends with the man who carried out the massacre with his wife.

In his initial court appearance Thursday, Marquez looked disheveled. His hair flopped over his forehead, there was stubble on his face, and the pockets of his black pants were turned out. He appeared calm and showed no emotion as he gave one-word answers to the judge.

Farook and his wife, Tashfeen Malik, used guns that Marquez bought years ago to kill 14 people at an annual training of Farook's health department co-workers on Dec. 2, authorities say. The couple later died in a shootout with law enforcement.

Like us on Facebook
Follow us on Twitter & Instagram