Youssef En-Nesyri celebrates his goal
Martin Meissner / AP
Morocco is the first African team in history to reach a World Cup semi-final.
The Moroccans won 1-0 (1-0) against Portugal, who were unable to take advantage of the many chances they had.
Cristiano Ronaldo was again only a substitute.
Youssef En-Nesyri scored the goal to win (42').
Morocco now meets the winner of the last quarter-final between France and England.
As in the round of 16, Portugal started without Ronaldo in the starting XI.
Unlike the win against Switzerland, however, the offensive against Morocco did not immediately heat up, but Portugal still had chances.
João Félix headed in from a Bruno Fernandes free-kick, but was denied by Bono, who made a strong save.
Otherwise, Portugal struggled.
Morocco was closely staggered, the Portuguese technicians had little space.
In the 31st minute it was João Félix who tried a shot from outside the box again, but the shot went just over the target.
The Moroccans also dared to go forward again and again, but did not become dangerous with their counterattacks for a long time.
That changed just before the half-time break.
Yahia Attiyat Allah crossed, Portugal keeper Diogo Costa rushed out of his goal but couldn't get the ball. Instead, Youssef En-Nesyri climbed up and headed the outsider into the lead (42').
Portugal was briefly shocked and then almost equalized.
A cross from Fernandes slipped over the playmaker's foot and was shot on goal, but landed on the crossbar (45').
In the 51st minute, Portugal coach Fernando Santos made his first substitution, allowing Ronaldo to play for his 196th cap, equaling Kuwait's Badr al-Mutawa's world record.
Portugal then continued to press, Gonçalo Ramos headed wide after a cross (58').
A short time later, Fernandes tried it from a distance, but aimed too high (64th).
Morocco was only challenged in defense in the second half.
Portugal played around the Moroccan penalty area in the style of a handball team.
The strong João Félix took aim after Ronaldo had put it down in the penalty area and Bono was there again.
Ronaldo also missed another chance in the heated stoppage time (90' + 1'), before Morocco's Walid Cheddira had to leave the field after two fouls within a short time (90' + 3').