After 1975, he commanded forces in the north of Mauritania and Tiris al-Gharbiya (Western Sahara), in the war against Polisario Front guerrillas, notably in the Zouerate region and Bir Moghrein. In 1978, with the country in severe disorder, he participated in a coup d'état that overthrew Mauritanian President Mokhtar Ould Daddah. As a member of the CRMN military junta, he was promoted to the post of Chief of the General Staff.