Audio By Carbonatix
Zimbabwe's President Robert Mugabe has resigned, parliament speaker Jacob Mudenda has said.
A letter from Mr Mugabe said that the decision was voluntary and that he had made it to allow a smooth transition of power.
The surprise announcement halted an impeachment hearing that had begun against him.
Lawmakers roared in jubilation and people have begun celebrating in the streets.
Follow the latest developments here
Mr Mugabe had previously refused to resign despite last week's military takeover and days of protests.
The letter did not mention who would take over from Mr Mugabe.
The constitution says it should be the current vice-president, Phelekezela Mphoko, a supporter of Grace Mugabe, Mr Mugabe's wife.
Mr Mudenda said moves were under way to ensure a new leader could take over by late on Wednesday.

UK Prime Minister Theresa May said Mr Mugabe's resignation "provides Zimbabwe with an opportunity to forge a new path free of the oppression that characterised his rule".
She said that Britain, "as Zimbabwe's oldest friend", will do all it can to support free and fair elections and the rebuilding of the Zimbabwean economy.
Robert Mugabe has been in power since independence in 1980. Mr Mugabe has won elections, but over the past 15 years these have been marred by violence against political opponents.
He has presided over a deepening economic crisis in Zimbabwe, where people are on average 15% poorer now than they were in 1980.

"I am the happiest person under the sun right now, because I always believed that Mugabe was going to step down in my lifetime and it has happened," human rights activist Linda Masarira told the BBC.
"And now going forward it's time for the opposition to reorganise and ensure that we will have a government that cares for the people. And everyone has to be included."
What triggered the moves to oust him was his dismissal of Emmerson Mnangagwa as vice-president two weeks ago.
That decision was seen by many as clearing the way for Grace Mugabe to succeed her husband as leader. It riled the military leadership, who stepped in and put Mr Mugabe under house arrest.
Latest Stories
-
QNET, Manchester City Host Grassroots Football Clinic in Ghana
15 minutes -
Ebola outbreak poses massive challenges, warns nurse
4 hours -
Bolivian minister’s convoy ambushed while overseeing roadblock clearance
4 hours -
One killed and many feared trapped under collapsed building in Philippines
4 hours -
Trump tells US negotiators ‘not to rush’ into deal with Iran
5 hours -
Conte to leave Napoli a year after winning Serie A
5 hours -
Iraola signs off after writing new Bournemouth chapter
5 hours -
Fifi Folson marks 20 years on air with Thanksgiving Service, launches teen gospel initiative
5 hours -
The moment that broke Guardiola on day a decade of glory ended
5 hours -
Raducanu beaten in French Open first round
5 hours -
Sabalenka cuts media short as French Open players protest
5 hours -
Ghana’s Jada Yankey clocks new personal best at AP Race London International
6 hours -
GPL 2025/26: Berekum Chelsea end season on high with win over Bechem
6 hours -
Alleged shooting of chief’s brother by galamseyers triggers tension at Gwira Ampansie
6 hours -
Livestream: The Probe examines New Decentralisation Policy
7 hours