Portugal’s World Cup run came to a shocking end on Saturday as Morocco became the first African team to advance to the semifinals in a 1-0 win in the quarterfinals. 

The loss for Portugal sends star player Cristiano Ronaldo home after what may be the final World Cup match for the soccer legend. 

Cristiano Ronaldo during the game against Morocco

Portugal's forward #7 Cristiano Ronaldo reacts during the Qatar 2022 World Cup quarter-final football match between Morocco and Portugal at the Al-Thumama Stadium in Doha on December 10, 2022.  (ALBERTO PIZZOLI/AFP via Getty Images)

Ronaldo once again came off the bench for Portugal, entering the game as a sub in the 51st minute. 

WORLD CUP 2022: MOROCCO STUNS PORTUGAL IN QUARTERFINALS, ADVANCE TO SEMIFINALS FOR FIRST TIME 

His only chance came in the 91st minute, when he had a shot on goal that Morocco's goalkeeper Yassine Bounou saved. 

After the game, an emotional Ronaldo walked back to the locker room, appearing to hide the tears.

It’s been a tumultuous few weeks for Ronaldo, who parted ways with Manchester United after the 37-year-old was critical of his English Premier League club in an interview. 

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

Ronaldo was then suspended for two games by the English Football Association for knocking a phone out of the hands of a young fan after he thought the fan was filming his injury suffered in a game. 

Cristiano Ronaldo dribbles the ball against Morocco

Portugal's forward #7 Cristiano Ronaldo controls the ball during the Qatar 2022 World Cup quarter-final football match between Morocco and Portugal at the Al-Thumama Stadium in Doha on December 10, 2022.  (ALBERTO PIZZOLI/AFP via Getty Images)

In Portugal’s first game of the World Cup against Ghana, Ronaldo became the first male player to score at five World Cups with the goal in the 65th minute of play. 

Ronaldo’s first World Cup was in 2006, when he scored a penalty against Iran. At the 2018 World Cup in Russia, Ronaldo had five goals. 

Cristiano Ronaldo reacts after losing in the World Cup

Portugal's forward #7 Cristiano Ronaldo reacts after his team lost the Qatar 2022 World Cup quarter-final football match between Morocco and Portugal at the Al-Thumama Stadium in Doha on December 10, 2022.  (PATRICIA DE MELO MOREIRA/AFP via Getty Images)

CLICK HERE TO GET THE FOX NEWS APP

In Portugal’s Round of 16 game against Switzerland, Ronaldo was benched after he expressed frustration for being subbed out in a win over South Korea. 

Ronaldo will be 41 by the time the 2026 World Cup comes around.