South Africa president Jacob Zuma has resigned amidst political pressure. 

Zuma announced his immediate resignation on state-owned television late on Wednesday after the ruling African National Congress (ANC) party threatened to eject him from office via a parliamentary vote of no confidence.

The 75-year-old has been ruling South Africa since 2009.

Also read: Zuma Goes To War With ANC Over Recall

In a 30-minute national television address, Zuma said he had "come to the decision to resign as president of the republic with immediate effect".

"I have served the people of South Africa to the best of my ability. I am forever grateful that they trusted me with the highest office in the land," he said.

Zuma, whose reputation has been stained by years-long allegations of graft, is replaced by his deputy Cyril Ramaphosa, who will serve in acting capacity until parliament elects him as president.