Cyril Ramaphosa, an anti-apartheid activist turned tycoon and politician, has been chosen by the African National Congress as its leader for the next five years.
The battle to lead South Africa’s ruling party, which has been in power for 23 years but has been hit by declining support and a series of scandals, remained on a knife edge to the last minute.
Almost 5,000 delegates voted in an internal party election at a conference centre in Johannesburg. Ramaphosa won with 2,440 votes to 2,261 for his rival Nkosazana Dlamini-Zuma.
Read Also Fayose confirms receiving N4.76bn Paris Club refund
The delegates’ choice will almost certainly determine the next president of South Africa, due to be decided in an election in 2019, and the trajectory of the “rainbow nation” for decades to come.
The victory of Ramaphosa, 65, will come as a relief to those in South Africa who feared populist and potentially divisive policies from Dlamini-Zuma, a former senior minister and party stalwart who had promised “radical economic transformation”.
But it will disappoint those who believe Ramaphosa lacks the will to take measures needed to redistribute wealth and lift millions of people out of deep poverty.
What were the differences between the two candidates?
Mr Ramaphosa, 65, has spoken out strongly against state corruption and has the backing of the business community.
He campaigned as the anti-Zuma candidate, promising to target corruption, and his victory could mean that the ANC decides to recall Mr Zuma as national president in the next few weeks.
The ANC recalled Mr Zuma’s predecessor, Thabo Mbeki, in 2008 after Mr Zuma replaced him as ANC leader the previous year.
Ms Dlamini-Zuma, 68, had been critical of the enduring power of white-owned businesses and had pledged to tackle what she said was continued racial inequality.
Analysts said that Mr Zuma had backed his former wife.