Emmerson Mnangagwa, the former vice president sacked by Mugabe earlier this month, is set to be sworn in as president on Friday.
Harare: Zimbabwe's former President Robert Mugabe was granted immunity from prosecution and assured that his safety would be protected in his home country as part of a deal that led to his resignation, sources close to the negotiations said on Thursday.
Mr Mugabe, who had led Zimbabwe from independence in 1980, stepped down on Tuesday after the army seized power and the ruling party turned against him. Emmerson Mnangagwa, the former vice president sacked by Mugabe earlier this month, is set to be sworn in as president on Friday.
A government source said Mugabe, who is 93, told negotiators he wanted to die in Zimbabwe and had no plans to live in exile.
"It was very emotional for him and he was forceful about it," said the source, who is not authorized to speak on the details of the negotiated settlement.
"For him it was very important that he be guaranteed security to stay in the country...although that will not stop him from traveling abroad when he wants to or has to," the source said. Mr Mugabe resigned on Tuesday as parliament began a process to impeach him, sparking wild celebrations in the streets. His rapid downfall after 37 years in power was triggered by a battle to succeed him that pitted Mnangagwa against Mugabe.