After a turbulent period which saw Algeria employ seven coaches in three years, it has taken Djamel Belmadi less than one year to restore order and turn a dispirited squad into finalists at the Africa Cup of Nations.
Although he had only coached in Qatar before taking the job, Belmadi has lifted the ‘Desert Foxes’ out of their rut.
He has turned them into the most impressive side at the tournament with five wins and a draw, 12 goals scored and two conceded, on their way to Friday’s final against Senegal.
Belmadi has managed to bring out the best in a talented squad and maintain a ruthless streak, although there are still occasional excesses, such as Ramy Bensebaini’s extraordinary self-slapping incident in the quarter-final against Ivory Coast.
Bensebaini grabbed the arm of Wilfried Zaha, then slapped himself in the face with the Ivorian’s hand before falling theatrically to the ground, clutching his face in a failed attempt to get his opponent sent off.
Belmadi, 43, has also succeeded in lifting the pressure on their top player Riyad Mahrez, allowing him to be a pivotal figure, but without expecting him to run the show.
“I do not like highlighting players. We need to put a little less focus on Mahrez if we want to make this a big tournament for us,” he said at the start.
Belmadi himself was a gifted midfielder, who could unlock defences with his passing, in a playing career which took him to 10 clubs in France, England and Qatar, including Olympique Marseille and Manchester City.
He also played 20 times for Algeria, scoring five goals.
Algeria’s troubles of recent years began after a quarter-final exit at the Afcon in 2015, which led to criticism of coach Christian Gourcuff.
The Frenchman clung on for another year, eventually quitting following a 3-3 draw against Ethiopia.
Nabil Neghiz stepped in for one game as caretaker before the reigns were handed to Milovan Rajevac who lasted for two games, quitting after a 1-1 draw at home to Cameroon in a World Cup qualifier.
Belgian Georges Leekens was next and he lasted five matches, including a 3-1 loss to Nigeria in another World Cup qualifier.
Then came Spaniard Lucas Alvarez who resigned following home-and-away World Cup qualifying defeats to Zambia, which meant Algeria missed out on Russia.
By this point, the team was in such disarray that Mahrez was allowed to skip the Zambia match to negotiate a transfer.