Morocco defeated Portugal 1-0 on Saturday to become the first nation to advance to the World Cup semifinals.
Former European champions came close to taking the lead, but Joao Felix was stopped by a superb save from Yassine Bounou.
Youssef En-Nesyri then gave the Atlas Lions the lead.
To head past a stranded Diogo Costa, the Sevilla attacker rose to his highest point.
The North Africans defeated the Portuguese assault to make history, and it turned out to be the only game of the confrontation.
For a spot in the championship game, Morocco will now face either France or England.