A libertarian activist arrested for allegedly possessing hallucinogenic mushrooms while also possessing a gun was granted a $5,000 bond Monday, but associates said he might choose to remain in jail to protest the “illegitimate” charges.

Adam Kokesh has been held in Fairfax County jail since last Tuesday, when his Herndon home was raided by U.S. Park Police investigating him after he posted a video of himself apparently loading a shotgun on Freedom Plaza — a violation of D.C. law.

During the bond hearing in Fairfax County General District Court, a prosecutor said 10 guns, along with substances believed to be LSD, hashish and hallucinogenic mushrooms, were seized after officers served a search warrant on Kokesh’s Snowflake Court home.

District Court Judge Thomas E. Gallahue said Monday he would grant Kokesh’s bond on the condition that he be supervised and not possess any guns.

“Hallucinogens and guns — let’s keep them apart,” Gallahue said.

Kokesh has refused to participate in the legal proceedings against him. During his arraignment Thursday, Kokesh had to be wheeled before a closed-circuit camera that broadcast his image into the courtroom.

On Monday, he did not speak in court.

After the hearing, friends and associates of Kokesh appeared in front of the courthouse to speak about his plight. Ed Yealey, technical director of Kokesh’s Web show “Adam vs. The Man,” appeared with a gun holstered at his side.

“We’re not thinking he will want to post bond, because of the stipulations and because he wants to make a statement,” Yealey said. “That’s what he does.”

Yealey said Kokesh believes he was within his rights to possess a shotgun and load it in public in the District, as he appeared to do in the July 4 video. On the recording, which was posted on YouTube, Kokesh repeatedly loads the weapon and says: “We will not be silent. We will not obey. We will not allow our government to destroy our humanity. We are the final American Revolution. See you next Independence Day.”

Supporters also held a small rally for Kokesh at the Fairfax County jail Saturday. Kokesh had earlier called for a march into the District with activists carrying guns but later canceled it. He has a long history of activism on a range of issues.