A Zimbabwean court has dismissed charges against a pastor accused of trying to overthrow the government through an internet campaign that inspired rare protests against President Robert Mugabe.
Pastor Evan Mawarire appeared in a packed Harare courtroom draped in the Zimbabwean flag after spending the night in police cells as officers searched his house, church and office.
Magistrate Vakayi Chikwekwe said prosecutors presented different charges from those read out to Mawarire when he was arrested.
"It's my finding that the National Prosecuting Authority cannot charge the accused for the first time in court without charges being read out to him," Chikwekwe told the court.
Mawarire's lawyer Harrison Nkomo said his client initially faced charges of inciting violence before prosecutors changed the charge to attempting to overthrow the government, which carries up to 20 years in jail in found guilty.
Hundreds of Mawarire's supporters gathered outside the court, waving the national flag and singing protest songs, as anti-riot police kept a watchful eye.
"We are here in solidarity with a man of the cloth who is standing against a system that has impoverished the citizens of this nation," Harare resident Pastor Ellard said.
Though Mawarire had called for further "stay at home" protests on Wednesday, queues built up as normal at bus and taxi ranks to ferry people to work, while most businesses were open.
Teachers reported for duty at most public schools, which are conducting mid-year examinations, while nurses and doctors were at work at state-run hospitals.
Mawarire last month posted a video online, that has since gone viral, venting his anger about deteriorating social and economic conditions in Zimbabwe and urging citizens to hold government to account.
"I am angered by the poverty and day to day struggles. The economy is not working and there are no jobs," Zimbabwean activist Maureen Kademaunga told Reuters.
The preacher's social media movement has rattled 92-year-old Mugabe's administration, leading to accusations by the state against Mawarire of inciting public violence.
Anger is rising in Zimbabwe over high unemployment, corruption in government and shortages of money, which has seen people spending hours in bank queues to withdraw their money.
Zimbabwe's government warned protesters on Tuesday they would face the "full wrath of the law" if they heeded Mawarire's call, after his #ThisFlag movement organized the biggest anti-government demonstrations in a decade last week.
After his arrest, Mawarire supporters released a pre-recorded video urging Zimbabweans to stage another stay-away protest on Wednesday.
Amnesty International said Mawarire's arrest was a calculated plan by Zimbabwean authorities to intimidate activists ahead of Wednesday's protests.
"Instead of suppressing dissenting voices, Zimbabwean authorities should be listening to protesters like Evan Mawarire," said Muleya Mwananyanda, Amnesty International's deputy director for southern Africa.
Zimbabweans reacted to the ruling on Twitter
Congratulations to the presiding Magistrate in Pastor Evan Mawarire's case today for upholding Zimbabwe's Constitution.— David Coltart (@DavidColtart) July 13, 2016
Additional reporting by Reuters.