Cape Town Mayor Patricia de Lille on Thursday survived a motion of no confidence against her by her own party the Democratic Alliance (DA) by a single vote.
The motion was defeated by 110 votes to 109, with three abstentions.
This result comes after De Lille headed to the Western Cape High Court this week for an urgent application seeking to have the vote of no confidence in her conducted by secret ballot.
The opposition African National Congress (ANC) rejoiced in the chamber at the news of De Lille's narrow victory emerged.
Afterwards, De Lille tweeted: "Thank you to the councillors for their support. You showed your courage and conviction. Let’s get back to our work!"
- African News Agency (ANA)