Open this photo in gallery:

Former South African president and uMkhonto weSizwe Party leader Jacob Zuma delivers his speech at the party’s final election rally in KwaMashu township on Nov. 1.RAJESH JANTILAL/AFP/Getty Images

Eight years after he was toppled from office in a corruption scandal that briefly sent him to prison, former South African president Jacob Zuma has staged an audacious comeback, winning a slice of power in some of the country’s biggest cities.

Mr. Zuma, who led the long-ruling African National Congress from 2007 to 2017, now heads an opposition party that wants to tear up the constitution and bring Indigenous kings and queens into parliament. Its members wear military-style camouflage clothing to signal their revolutionary ambitions.

His party, uMkhonto weSizwe (MKP), is named after the ANC’s military wing, known as the “Spear of the Nation,” which took up arms against South Africa’s white-minority government in the apartheid era. Its manifesto is a populist mix of left-wing nationalization plans and conservative tribal-rule ideas.

In local elections this month, MKP finished third by winning almost 10 per cent of the national vote. It also emerged as the biggest party in the Zulu heartland, KwaZulu-Natal province (KZN), with 34 per cent.

When coalition negotiations ended Friday, it won mayoral posts in KZN’s five biggest municipalities, including eThekwini, which contains Durban, the country’s biggest seaport and third-biggest city. The party also joined governing coalitions in Johannesburg and Tshwane, which contains the capital, Pretoria.

South Africa’s ANC electoral crash fuels debate on fate of Africa’s liberation movements

The results are a remarkable coup for the 84-year-old Mr. Zuma. He was excluded from South Africa’s national coalition after the 2024 election because of the bad blood between him and President Cyril Ramaphosa, who succeeded him in 2018 when the ANC forced him to resign.

Mr. Zuma was briefly imprisoned in 2021 for defying a court order to testify at a public inquiry into a vast array of corruption allegations that emerged during his nine-year presidency. His jailing triggered riots by his supporters, leading to hundreds of deaths. His son, Duduzane, was a business partner of the Gupta brothers, who fled the country after a criminal investigation into their highly profitable dealings with state-owned companies.

Open this photo in gallery:

First Deputy President of the uMkhonto weSizwe Party Duduzane Zuma, right, greets supporters outside the Roseland Primary School polling station in Durban on Nov. 4.RAJESH JANTILAL/AFP/Getty Images

On Friday, MKP councillors danced and sang jubilantly with the new mayor, Mxolisi Phakathi, in a victory lap around eThekwini’s council chamber. “This city will now see complete change,” Mr. Phakathi said in his acceptance speech.

Mr. Zuma, hospitalized for two weeks with an undisclosed illness last month, was seldom seen on the campaign trail and has said nothing publicly about MKP’s mayoral victories. He has seemed focused on consolidating control of his party, appointing two of his children – including Duduzane − to senior positions.

The new city coalitions could trigger the collapse of Mr. Ramaphosa’s national coalition government, which has been propped up by the pro-business Democratic Alliance (DA) party since 2024. Despite winning the largest share of votes in Johannesburg and Tshwane, the DA was excluded from power in both cities and is now considering whether to abandon the national coalition.

The DA denounced the deal-making in Johannesburg as a “coalition of chaos” − an unstable alliance that could collapse at any moment.

The ANC, which took power after apartheid ended in 1994 and dominated politics for decades, has seen its popularity erode swiftly in recent elections. After losing its national majority, it fell to just 31 per cent in the local elections. Many voters blame it for the decay and dysfunction in South African cities, where water and electricity supplies are increasingly unreliable.

But it has retained some power by negotiating coalitions in several cities. In Johannesburg and Tshwane, it struck a deal with MKP and several other parties, including the anti-immigration ActionSA party, which emerged with both mayoral posts.

ANC facing further losses in South Africa’s local elections

For the past two years, a minority faction in the ANC has wanted to forge coalitions with Mr. Zuma’s party and the left-wing Economic Freedom Fighters (EFF) party, both of which are seen as ANC splinter groups. The ANC has now opted to join those two parties in many of the new local coalitions, which could embolden it to do the same at the national level, pushing the DA out.

Mr. Ramaphosa, a centrist who helped bring the DA into the national coalition, is scheduled to be replaced as the ANC’s leader at a party congress in late 2027, if not earlier. He seemed to play no role in the local coalition talks and could soon be a lame-duck leader, with no clear successor. “This is the beginning of the end of Ramaphosa’s leadership,” political analyst Qaanitah Hunter wrote last week.

The political shifts are making investors nervous. South Africa’s currency, the rand, has weakened in recent weeks, and the political trends are believed to be one of several factors.

“Market concerns have grown over political risk as the DA appears to be set to be frozen out of a number of coalitions,” said Annabel Bishop, chief economist of South African bank Investec, in an analysis on Nov. 23.

By forging coalitions with parties that are “not centrist,” the ANC could be creating instability and poor service delivery, she said.