Morocco have topped Group F, setting up a last-16 tie with Spain
Morocco head coach Walid Regragui promised more is to come from his side, who advanced to the round of 16 at the World Cup for the first time in 36 years with a 2-1 win over Canada.
The Atlas Lions took the lead on four minutes when a major error by goalkeeper Milan Borjan gifted Hakim Ziyech the opener and Youssef En-Nesyri made it two before the break.
Nayef Aguerd snapped a six-game clean sheet streak with an own goal but the Moroccans breathed a sigh of relief when Canadian skipper Atiba Hutchinson's second-half header off the crossbar missed by mere inches, landing on but not crossing the goal-line, ensuring they finished top of Group F.
"It was not easy," said Regragui.
"When you do have this opportunity to get into history, to make history, you remember it. And, honestly, today, first half, I think it was one of the best performances that we have had in a long time."
Morocco World Cup squad 2022
Goalkeepers: Yassine Bono, Munir, Ahmed Reda Tagnaouti
Defenders: Achraf Hakimi, Noussair Mazraoui, Romain Saiss, Nayef Aguerd, Achraf Dari, Jawad El-Yamiq, Yahia Attiat-Allal, Badr Benoun
Midfielders: Sofyan Amrabat, Selim Amallah, Abdelhamid Sabiri, Azzedine Ounahi, Bilel El Khanouss, Yahya Jabrane
Forwards: Hakim Ziyech, Youssef En-Nesyri, Sofiane Boufal, Zakaria Aboukhlal, Ez Abde, Amine Harit, Ilias Chair, Abderrazak Hamdallah, Walid Cheddira