Sofiane Boufal’s 82nd-minute strike handed Morocco a narrow win over Group C rivals Ghana in their Africa Cup of Nations opener.
The former Southampton winger pounced on to a loose ball before hammering his effort into the far corner.
It was a rare moment of quality in an otherwise uneventful game in Yaounde as four-time winners Ghana frustrated their opponents.
Morocco were untroubled in the closing stages, cantering to their win.
The North African side came into the game having won all six of their World Cup qualifiers last year, but the 1976 winners were made to work for their three points.
Wolverhampton Wanderers defender Romain Saiss had gone close for the Atlas Lions, heading narrowly off target in a tight first half.
For all of Morocco’s possession Vahid Halilhodzic’s side were nearly behind in the 73rd minute as Joseph Paintsil’s curler was superbly stopped by keeper Yassine Bounou.
Black Stars skipper Andre Ayew also went close with a looping volley only for Angers’ Boufal to net the winner at the other end minutes later.
And, after taking the lead, Morocco nearly doubled their advantage in the closing stages with Samy Mmaee heading a set-piece just wide.
In the other Group C game,Gabon stun AFCON first timer’s Comoros by a lone goal scored by Aaron Boupendza in a cagey encounter.
Morocco face debutants Comoros on Friday (16:00 GMT) before Ghana play Gabon (19:00 GMT).