The Zimbabwe military has promised ousted president Robert Mugabe immunity from prosecution and a “generous pension”, The Guardian reported on Thursday. They have told Mugabe he will be protected in Zimbabwe, the report said. Mugabe resigned on Tuesday, days after the military had intervened when he had sacked the vice president.

Vice President Emmerson Mnangagwa will be sworn in as president on Friday, after Mugabe’s 37-year rule. Mnangagwa, who was Mugabe’s longtime deputy, had fled the country earlier in November, claiming threats against his life.

Ninety-three-year-old Mugabe had been positioning his wife Grace as his successor before the military had moved to oust Mugabe. His government was accused of several human rights violations. He was also accused of maladministration, which had led to a collapse of Zimbabwe’s economy and healthcare system, among other administrative failures.