(CNN)It was supposed to be a solidarity protest for George Floyd in Accra, Ghana, but ended up with police clashes, injured protesters and the organizer behind bars.
Ernesto Yeboah was charged with failing to contact the authorities before organizing a Black Lives Matter vigil last week, police say.
He says the Economics Fighters League is considering taking legal action against the police and has hired two lawyers.
Scores of demonstrators chanted "Free Ernesto!" outside the police station where he was being held.
The incident escalated when armed officers rushed to the scene and fired shots in the air, witnesses said.
Gbontwi Anyetei, a demonstrator at the police station, said the crowd broke out in disarray.
"I was shocked and I was scared. Everyone just took off running," Anyetei said.
There are no reports of injuries sustained from the shots fired, but another protester, Kuukua Eshun, severely wounded her elbow after she fell while attempting to flee the scene.
"All we needed was for them to give us notice to leave, but instead they just came out and started shooting. I thought I was going to die. I am still traumatized," she said.
Yeboah, who is the leader of the Economic Fighters League, described as a non-partisan movement, said his intention was for the June 8 event to be a peaceful sit-in.
However, police say he violated the country's Public Order Act, which states that "any person who desires to hold any special event shall notify the police."
Yeboah was granted bail at GH¢100,000 ($17,000) and released before being detained again shortly after his preliminary hearing on Thursday.
He was released a day later and his next court appearance is scheduled for July 7.
From protest to clashes
Yeboah was in the middle of giving a speech on social empowerment at the vigil when a swarm of police officers surrounded the political activist and whisked him away.
Angry protesters intervened, prompting clashes between authorities and the crowd.
"I could not believe what was happening. It is not up to the police to approve a vigil," Yeboah told CNN.
"No one in power should be above the Constitution," which states that "all persons shall have the right to...freedom of assembly including freedom to take part in processions and demonstrations."