Roger Gonzalez, CBS Sports

EKATERINBURG, Russia (CBS Sports) – Mexico lost to Sweden 3-0 on Wednesday in its final group stage match, but thanks to Germany’s shocking loss to South Korea, El Tri is through to the round of 16 as the second-place team in Group F.

Sweden’s defender Mikael Lustig and Mexico’s forward Hirving Lozano vie for the ball at the Ekaterinburg Arena in Ekaterinburg, Russia, on June 27, 2018. (Getty Images)

READ MORE: Man Killed, 2 Injured In Violent Gardena Crash

It what was a frantic, hectic and truly unbelievable two hours as it went from Mexico and Germany expected to advance to heartbreak for the Germans. Mexico lived out an intense final half an hour, with Germany going forward with everything it had, but a late goal from South Korea clinched a shocking upset to let Mexico go through. Had Germany won 1-0, Mexico would have been out.

It was a poor showing from Mexico, but it was enough. Sweden, on the other hand, had its best showing of the cup.

First it was Ludwig Augustinsson with the winner on 50 minutes with a lovely finish off a fortunate bounce:

READ MORE: Residents Say Strong Stench In Carson Keeps Getting Stronger

Then a penalty kick for Sweden saw Andreas Granqvist finish with class for the 2-0 lead:

Mexico’s Edson Alvarez then scored an own goal to complete the dominant scoreline:

Mexico had 20 shots but only three on frame as they back into the knockout stage. Next up, Mexico could be facing Brazil in the round of 16 if the South Americans win Group E.

MORE NEWS: Man Suspected Of Stealing Truck Taken Into Custody Following Pursuit

© 2018 CBS Interactive Inc. All Rights Reserved.