Morocco reached the last 16 of the Africa Cup of Nations with a 1-0 victory over Ivory Coast in Group D.
Youssef En-Nesyri scored the game's only goal in the first half after a clever pass from Nordin Amrabat.
Ivory Coast had gone close with just 38 seconds gone when Wolves' Romain Saiss cleared a header from Aston Villa's Jonathan Kodjia off the line.
Morocco end their group campaign against South Africa on Monday, while Ivory Coast play Namibia.
Morocco could still be caught by both Ivory Coast and South Africa, but they are already assured of at least being one of the four best third-placed teams.
As well as scoring, En-Nesyri swept a shot into the side-netting and forced Sylvain Gbohouo into a terrific save down to his left after Amrabat dummied Hakim Ziyech's low cross.
Ivory Coast, who left Crystal Palace talisman Wilfried Zaha on the bench, could have pulled level when Max Gradel was played through on goal, but Morocco goalkeeper Yassine Bounou was quickly off his line to smother the danger, before Pepe fired the loose ball into the side-netting.
Latest Stories
-
Center for Learning and Childhood Development Director Dr Kwame Sakyi honoured at Ghana Philanthropy Awards
1 hour -
Asantehene receives 28 looted artefacts
2 hours -
CAF WCL 2024: Ghana’s Thelma Baffour wins title with TP Mazembe
3 hours -
Benjamin Boakye slams politicisation of energy sector issues and ECG’s inefficiencies
3 hours -
Erastus Asare Donkor and Dr Neta Parsram win big at 10th Mining Industry Awards
3 hours -
Government is “suppressing information” about power sector challenges – IES Director
3 hours -
Majority of our debts caused by forex shortfall – ECG Boss
4 hours -
Pan-African Savings and Loans supports Ghana Blind Union with boreholes
4 hours -
Bole-Bamboi MP Yussif Sulemana donates to artisans and Bole SHS
4 hours -
Top up your credit to avoid potential disruption – ECG to Nuri meter customers
4 hours -
Dutch & Co wins 2024 Entrepreneur of the Year Award
5 hours -
We’ll cut down imports and boost consumption of local rice and other products – Mahama
7 hours -
Prof Opoku-Agyemang donates to Tamale orphanage to mark her birthday
8 hours -
Don’t call re-painted old schools brand new infrastructure – Prof Opoku-Agyemang tells gov’t
9 hours -
Sunon Asogli plant will be back on stream in a few weeks – ECG
9 hours