The Olympic journey for the United States men’s soccer team has come to a heartbreaking end after they suffered a 4-0 loss to Morocco in the quarterfinal round on Friday. 

The Americans were hoping to make more history in Paris after reaching their first quarterfinal match in over two decades with a 3-0 win over Guinea earlier this week. 

USMNT reacts to loss

Duncan McGuire #13 of the United States reacts after losing to Morocco during the Men's Quarter Final match during the Olympic Games Paris 2024 at Parc des Princes on August 2, 2024, in Paris, France. (Andrea Vilchez/ISI/Getty Images)

Morocco’s top goalscorer in these Games, Soufiane Rahimi, was first on the board with a penalty kick in the 29th minute after a foul was called on U.S. defender Nathan Harriel. It marked his fifth goal of the Paris Olympics. 

2024 SUMMER OLYMPICS: LIVE UPDATES

The U.S. held off Morocco’s offense in the first half, but it was lights out after both sides walked on the pitch at Parc des Princes in the second half of the game. 

Ilias Akhomach, Achraf Hakimi and Mehdi Maouhoub would all score for Morocco, ending what would’ve been a historic medal opportunity for the USMNT. 

Team Morocco

Mehdi Maouhoub of Morocco celebrates after scoring his team's fourth goal with teammates during the Men's Football Quarter-final match between Morocco and USA on Day 7 of the Olympic Games Paris 2024 at Parc des Princes on August 2, 2024, in Paris, France.  (Alex Gottschalk/DeFodi Images via Getty Images)

USA WOMEN'S SOCCER WINS GROUP AFTER 3RD STRAIGHT WIN TO OPEN OLYMPICS

The men’s squad, competing in their first Olympics since 2008, was hoping to emulate the run of the 2000 squad in Sydney, who advanced to the semifinal round. The USMNT has never won an Olympic medal in the modern Olympic era. 

CLICK HERE FOR MORE SPORTS COVERAGE ON foxnews.1eye.us

By contrast, the women’s squad are off to a dominant start. 

USMNT reacts to loss

Kevin Paredes, #7 of the United States, is consoled by Achraf Hakimi, #2 of Morocco, after the Men's Quarter Final match during the Olympic Games Paris 2024 at Parc des Princes on August 2, 2024, in Paris, France.  (Andrea Vilchez/ISI/Getty Images)

They won all three of their group matches and are set to play Japan on Saturday at Parc des Princes in Paris.

CLICK HERE TO GET THE FOX NEWS APP

The USWNT have advanced to the knockout stage in all eight Olympic tournaments. Their worst finish was a quarterfinal loss in 2016 against Sweden, but they have medaled every other time, including four golds. 

Fox News’ Ryan Morik contributed to this report. 

Follow Fox News Digital’s sports coverage on X, and subscribe to the Fox News Sports Huddle newsletter