Zimbabwe's President Robert Mugabe has resigned, parliament speaker Jacob Mudenda says.
A letter from Mr Mugabe said the decision was voluntary, Reuters news agency reports.
The surprise announcement came as lawmakers debated an impeachment motion against Mr Mugabe in a joint sitting of parliament.
Mr Mugabe had previously refused to resign despite last week's military takeover, and days of protests.
He has been in power since independence in 1980.