Sofiane Boufal scored on 83 minutes to earn Morocco a 1-0 win over Ghana in Yaounde on Monday after the first clash of titans in the Africa Cup of Nations.
The 28-year-old former Southampton midfielder, now with French top-flight club Angers, turned in the goalmouth and fired a loose ball past goalkeeper Joseph Wollacott.
It was the first meeting of two top 10 nations in a championship that began on Sunday after twice being postponed last year due to the coronavirus pandemic.
Morocco are ranked second and Ghana eighth in Africa and both former champions are considered potential winners of the 24-team tournament.
It is 46 years since Morocco won the Cup of Nations for the only time and the latest campaign began without their best known player, Chelsea midfielder Hakim Ziyech.
He was dumped from the national squad last year after coach Vahid Halilhodzic labelled the Netherlands-born star a "disruptive influence".
Morocco started against Ghana with three Premier League players -- captain Romain Saiss from Wolves and Watford duo Adam Masina and Imran Louza.
Ghana have won the symbol of African national team supremacy four times, but the last success came 40 years ago in Libya, where teenager Abedi 'Pele' Ayew sprang to international prominence.
Coach Milovan Rajevac chose six England-based starters, including Daniel Amartey, Jordan Ayew and Thomas Partey from Premier League clubs.
This was the fourth clash between the Atlas Lions and the Black Stars in the Cup of Nations with each country winning one and the other drawn.
After a cagey, foul-riddled start at a 42,500-seat stadium named after former Cameroon president Ahmadou Ahidjo, Partey came close on 32 minutes with his angled free-kick going just over the crossbar.
This close shave was a signal for both teams to show more urgency in front of a small crowd and Saiss got his head to a free-kick in a crowded goalmouth only to see it fly over the target.
Ghanaian hearts pumped faster just before half-time when a solo run by Joseph Paintsil offered hope of an opening goal, but his finish was embarrassing, sending his shot well wide.
Paintsil threatened again early in the second half with a lengthy dribble only to pass poorly on the edge of the box and Morocco breathed a sigh of relief.
Andre Ayew, elder brother of Jordan and son of Abedi, attempted a volley off a free-kick but instead of a spectacular goal the ball flew wide.
Having let the Black Stars down twice, Paintsil thought he had made amends by firing goalwards with 18 minutes remaining only to be denied by a brilliant one-hand save from Yassine Bounou.
In Group B, Guinea edged Malawi 1-0 through a 35th-minute goal from Issiaga Sylla in the western city of Bafoussam and share first place with Senegal.
Left-back Sylla scored from close range after a long cross-field pass found Jose Kante, who pushed the ball into the six-yard box.
Senegal, one of the title favourites, snatched a last-gasp 1-0 victory over Zimbabwe in the first match of a double-header when Liverpool star Sadio Mane converted a 97th-minute penalty.