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. 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:

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. 

Relive commentary from Wednesday's Mexico vs. Sweden match

If the live blog doesn't load properly, click here.

For news, stories, results and more, follow us:

- @CBSSportsSoccer - @RGonzalezCBS - Facebook