South African President Jacob Zuma on Wednesday abandoned a court bid to block a watchdog's report into corruption allegations against him, as calls grew for him to stand down.
The court later ordered for the "State capture report", as it is popularly called, to be released by 5pm on Wednesday.
Zuma's surprise move came as thousands of people took to the streets of the administrative capital Pretoria to demand that he leaves office. It paves the way for the release of the probe into accusations that he allowed a wealthy Indian family undue political sway, including letting them choose some cabinet ministers.
"My instructions are to withdraw the application," Zuma's lawyer Anthea Platt told the High Court in Pretoria at the start of the second day of the hearing.
Former public ombudswoman Thuli Madonsela concluded her report into the influence of the Gupta family last month, shortly before the expiry of her seven-year term.
It was due to be released on October 14 until Zuma moved to block it.
The president (74) has survived a string of damaging scandals, but faces increasing criticism as South Africa's economy stalls and after the governing ANC party suffered unprecedented losses in local elections.
Some factions of the ANC, former anti-apartheid activists and business leaders have all recently called for him to stand down before his term ends in 2019.
On Wednesday, thousands of opposition party supporters, unions and civil groups marched through Pretoria to protest against Zuma's presidency. "I spent the whole night here," said Dominic Khulube, 30, an unemployed man from Tembisa, a township outside Johannesburg, after a vigil by the leftist Economic Freedom Fighters (EFF) party. "Zuma must step down and the Guptas must leave the country. If he does not step down today we will be here until he steps down."
The marches were originally planned to show support for Finance Minister Pravin Gordhan, who was due in court Wednesday on separate graft charges that many analysts see as an attempt by Zuma loyalists to oust him. But prosecutors dropped the charges on Monday in another twist to a power struggle that has exposed deep tensions in the ANC, the party that Nelson Mandela led in the fight against apartheid and which has held power since white-minority rule ended in 1994.
"We are being robbed by the very people who are meant to be looking after us," Mmusi Maimane, leader of the main opposition Democratic Alliance party, told crowds in Pretoria. "Judging by events this week, things aren't going so well for the bad guys. Yes, our country is under attack, but make no mistake – the good guys are winning."
The Gupta family – brothers Ajay, Atul and Rajesh – built an empire in mining, transportation, technology and media after arriving in South Africa from India in the early 1990s. One of Zuma's sons, Duduzane, is their business partner.
Deputy finance minister Mcebisi Jonas early this year accused the family of offering him the job of finance minister, something he said he rejected.
Zuma last month claimed he was not given enough time to respond to the watchdog's questions.