Badou Zaki has quit as coach of the Morocco national team by mutual consent, the Royal Moroccan Football Federation (FRMF) announced Wednesday.
“After 20 months of instability and inconsistent results, the federation have agreed with Zaki to end his contract by mutual consent,” the federation said in a statement.
The 56 year old took over as Morocco manager for the second time in May 2014, but the team has struggled recently and was knocked out of the African Nations Championship at the group stage.
A former international goal keeper, Zaki first managed the side for three years from 2002, losing the Africa Cup of Nations final to Tunisia in 2004.
Former Ivory Coast boss Herve Renard is being tipped to take over.
Renard, who lead the Elephants to the Africa Cup of Nations title in Equatorial Guinea last year, was sacked by French club Lille earlier this season.