PORTLAND, Ore. -- The counter-protester who was charged with two felonies after he allegedly pulled out a gun during a Portland rally on July 7 bailed out of jail.

Michael Strickland, 36, was released on Monday. His bail was $250,000.

Strickland's preliminary hearing is scheduled for Friday, July 29.

On July 7, Strickland was arrested for allegedly pulled out a gun during a Portland rally to protest the deaths of two black men shot by police in Minnesota and Louisiana.

Strickland was initially charged with menacing and disorderly conduct. He was charged with two felony counts of unlawful use of a weapon.

Strickland arrived at his initial court appearance on July 8 with a bodyguard.

Prosecutors said Strickland had five magazines of ammunition on him when he pulled out the gun. He also had a knife.

Michael Strickland
<p>Michael Strickland</p>

Strickland told KGW he showed the gun because he felt threatened.

No shots were fired during the protest, which happened the same night snipers shot and killed five Dallas police officers and wounded seven more at a demonstration.

On July 6, a Minnesota officer fatally shot Philando Castile while he was in a car with a woman and a child. A day earlier, Alton Sterling was shot in Louisiana after being pinned to the pavement by two white officers.