South Africa's ruling party has won a narrow victory in the country's largest city, Johannesburg, in municipal elections amid its worst-ever showing at the polls.
The African National Congress won Johannesburg but lost the Tshwane metro area that includes the capital, Pretoria, in results announced Saturday evening.
The opposition Democratic Alliance made a strong expansion from its stronghold in the city of Cape Town. It won in Tshwane and in another major municipality, Nelson Mandela Bay.
The losses have threatened a generation of dominance for the ANC, the former anti-apartheid movement that took power at the end of white-minority rule.