Follow all the action from the FIFA World Cup Qatar 2022™ on beIN SPORTS
Morocco became the first African nation to reach the World Cup semi-finals as Youssef En-Nesyri's first-half goal sealed a tense 1-0 victory over Portugal on Saturday at Al Thumama Stadium.
The Atlas Lions, also the first Arab team to make the last four, added Portugal to their list of European scalps with a resolute second-half performance.
Cristiano Ronaldo has likely played his last World Cup match after making an ineffectual appearance as a second-half substitute, failing to score his first knockout-phase goal at the tournament.
Morocco took a 42nd-minute lead through En-Nesyri's header as they came on strongly late in the first period.
Portugal piled on the pressure after the break but an injury-hit Morocco, without three of their four first-choice defenders once skipper Romain Saiss was forced off, hung on despite being reduced to 10 men in added time.
The partisan crowd undoubtedly helped the North Africans over the line, although Portugal struggled to create many clear-cut chances as they lost a World Cup quarter-final for the first time.
Five-time Ballon d'Or winner Ronaldo was sent on early in the second half by coach Fernando Santos but could not rescue the Euro 2016 winners.
Instead it was another famous day for Morocco, after previous upset wins over Belgium and Spain, on penalties, in Qatar.
Walid Regragui's men will face England or holders France in the semi-finals at Al Bayt Stadium on Wednesday.
Morocco will believe they can topple either of those sides, having still only conceded once at this World Cup.
Portugal enjoyed the majority of possession in the opening half-hour, but Joao Felix's fifth-minute diving header, saved by goalkeeper Yassine Bounou, was the closest either side came to an early goal.
Morocco always looked dangerous, though, and Selim Amallah ballooned a shot over and Sofiane Boufal curled straight at Diogo Costa for the Africans.
- En-Nesyri strikes -
It was no surprise when Morocco did forge ahead shortly before the interval.
Portuguese goalkeeper Costa came for a cross from left-back Yahya Attiat-Allah he was never going to get to and Sevilla striker En-Nesyri did the rest with a towering header.
Portugal almost equalised seconds later in spectacular fashion when Bruno Fernandes crashed a bouncing ball from the right-hand side of the box against the crossbar.
A crazy few minutes before half-time also saw Attiat-Allah, only playing in place of the injured Noussair Mazraoui, blaze wide after another rapid counter.
Portugal's players were still appealing for a penalty after Fernandes threw himself to the ground under pressure from Achraf Hakimi at the other end.
Morocco almost doubled their advantage four minutes after the restart as Costa just about managed to prevent Hakim Ziyech's free-kick from the right from flying all the way in.
Santos wasted little time in summoning for his captain, sending on Ronaldo and Joao Cancelo in the 51st minute.
Morocco, already without injured defenders Mazraoui and Nayef Aguerd, were dealt another blow when Saiss was stretchered off.
Portugal started to lay siege to the opposition goal and Fernandes came close to levelling again when he fired narrowly over from the edge of the box.
Morocco were largely keeping Portugal at bay, but Bounou had to be at his best to tip over Felix's drive with eight minutes remaining.
Eight minutes of injury time were largely spent with Portugal camped in the Morocco half and Ronaldo almost had his moment when his low strike was kept out by Bounou.
Morocco substitute Walid Cheddira was harshly sent off for a second yellow card in the space of two minutes.
Zakaria Aboukhlal should have put the game to bed only to dink straight at Costa when clean through.
But his team somehow held onto their lead to write their names in the history books as Pepe headed wide from close range right at the death.
The whole Arab world is with Morocco tonight? Will that be the difference-maker against Portugal?
🇲🇦 🆚 🇵🇹— beIN SPORTS (@beINSPORTS_EN) December 10, 2022
The best defence vs the equal best attack! ⚔️
A fascinating contest in prospect at Al Thumama coming up. #FIFAWorldCup #Qatar2022 pic.twitter.com/Hhz29NGv3Y
Can Morocco keep up their defensive masterclass against Portugal?
Spanish midfielder Rodri has claimed that Morocco "offered nothing" in their round of 16 game. @AdleneGUEDIOURA hits back!#FIFAWorldCup #Qatar2022 #MORPOR pic.twitter.com/Eh1lyU8zJT— beIN SPORTS (@beINSPORTS_EN) December 10, 2022
Plenty of CR7 chat ahead of the game! Adrian del Monte has the latest.
As ever all of the talk in the 🇵🇹 camp is about CR7!— beIN SPORTS (@beINSPORTS_EN) December 10, 2022
Our man @adriandelmonte gives us the latest updates pitchside. #FIFAWorldCup #Qatar2022 #beINWCCountdown pic.twitter.com/WL7oGuqkK5
Our studio is looking good for the game tonight!
🇲🇦 🆚 🇵🇹 - #beINSQUAD— beIN SPORTS (@beINSPORTS_EN) December 10, 2022
Join @ReshminTV @AdleneGUEDIOURA @george1boateng and @RdBoer1970 on beIN SPORTS MAX 3 as we build up to a huge first quarter-final of the day! #FIFAWorldCup #Qatar2022 pic.twitter.com/qyVAZGX3wY
The vibes are good outside the stadium!
📍 Al Thumama Stadium— beIN SPORTS (@beINSPORTS_EN) December 10, 2022
We are building up to 🇲🇦 🆚 🇵🇹! @AndyKerrtv has caught up with a few Morocco fans ahead of kick-off! #FIFAWorldCup #Qatar2022 #beINWCCountdown pic.twitter.com/rKn6FFwzDJ
Good evening! A huge quarter-final is in prospect tonight as Morocco one of the surprise packages of the tournament take on Portugal. Join me for all of the build-up, team news and commentary from this crunch game at Al Thumama Stadium.