Interim President Bah Ndaw and Prime Minister Moctar Ouane were arrested and taken to a military base outside the capital before they resigned in detention, triggering a crisis in the West African country.
Mali's ousted interim president and prime minister have been freed after they were detained by the military and resigned, an aide to the vice president has said.
Interim President Bah Ndaw and Prime Minister Moctar Ouane were arrested and taken to a military base outside the capital on Monday, triggering a crisis in the West African country.
"The interim president and prime minister were released overnight around 1:30 am (0130 GMT). We were true to our word," an official told AFP news agency on Thursday, speaking on condition of anonymity.
The two men resigned from their posts while in detention on Wednesday.
Family members confirmed that Ndaw and Ouane had been freed.
International powers including the United States and military ally France, worried about worsening security in Mali and its neighbours, have condemned the arrests and threatened sanctions.
The arrests, orchestrated by Vice President Assimi Goita, have jeopardised Mali's transition back to democracy after a coup in August overthrew former President Ibrahim Boubacar Keita.
Goita, a colonel, also led last year's coup. He has promised that elections planned for next year will go ahead.
"They resigned, their release was scheduled, we have nothing against them," said Goita aide Baba Cisse.
Ndaw and Ouane's whereabouts will be kept secret to protect their security, Cisse told Reuters news agency. He declined to detail any plans for their replacement.
Goita ordered their arrest after a cabinet reshuffle in which two fellow coup leaders were sacked from their posts.
Their resignations coincided with a visit by an Economic Community of West African States delegation to press the military to back down.
ECOWAS has floated the possibility of sanctions against the officers responsible for the takeover.
Mali's influential M5-RFP political coalition, which led anti-government protests ahead of last year's coup, has opposed the leadership of Ndaw and Ouane, but it said it would strongly oppose Goita's appointment as president.
Although considered by analysts to be Goita's most likely future governing partner, the coalition said talks with ECOWAS had failed in part because of him.
ECOWAS did not comment about the talks on Thursday.
"The discussions yesterday were unsuccessful because Assimi wants to be the president, which is contrary to the texts of the Transition Charter," Nouhoum Togo, a spokesman for M5-RFP, told Reuters.
"Nowhere is it stipulated that the vice-president can replace the president," he said.
The leadership question could exacerbate a security crisis in Mali's desert north, where militants linked to al Qaeda and Daesh terror groups frequently capitalise on political uncertainty.
The militants have used Mali as a base from which to launch attacks across the Sahel in recent years. The arid region south of the Sahara saw an eight-fold increase in deadly attacks from 2015 to 2020. Over 5 million people have been displaced.
The EU military mission in Mali, which briefly suspended its training program in 2020 in the aftermath of the August coup, said on Thursday that Malian soldiers will continue to receive training.
"We are following the situation closely and are not taking any abrupt decision," Lieutenant-Colonel Pardo, the mission's spokesman, told Reuters.