Herve Renard has resigned his position as coach of Morocco national team.
Morocco crashed out of the 2019 Africa Cup of Nations in the Round of 16 after suffering defeat to Benin Republic.
“It is time for me to close this long and beautiful chapter of my life,” said the Frenchman.
In a statement on social media, the 50-year-old said he was “not without some emotion and sadness”, adding: “It is an inevitable decision taken well before AFCON 2019.
“I took this decision after having – of course – carefully considered [it]. It is therefore irreversible.”
Renard, who won AFCON with Zambia (2012) and Ivory Coast (2015), had been in charge of the Atlas Lions since February 2016.