A stunning stoppage-time free-kick from Kevin Gutierrez saw Mexico snatch a 2-1 victory over Uruguay to put El Tri back on track in Group D.
Hirving Lozano capitalised on poor defending to put the Mexicans ahead, before Mathias Suarez's late equaliser looked to have left the eventual victors struggling to reach the last 16. However Kevin Gutierrez's last-gasp strike drew them level with their South American opponents on three points.
After a disappointing start to the tournament, the CONCACAF champions began in earnest as they looked to get back on course towards the knockout stages. Danger man Lozano almost made the positive start count after his powerful header rattled the crossbar following Jose Ramirez's delicious outside-of-the-boot cross.
That momentum was almost entirely undone though in a two minute period that saw the best and worst of Mexico keeper Jose Gonzalez. His horribly miscued clearance should have been punished by Franco Acosta, but the FC Dallas produced one of the saves of the tournament so far to dive high to his left and tip Kevin Mendez's rasping shot on to the top of the bar.
Mendez again looked dangerous when he skipped through the Mexico area to fire a vicious ball right across the face of goal. A minute later, Orbelin Pineda showed great skill to cut in from the left and take aim at the top corner, but found only the side-netting.
While both sides probed after the break, each struggled with their final pass, so it was no surprise that the opener came from a mistake. Mauricio Lemos dwelled on the ball and, after Lozano had robbed him to race through and score, the result was a crucial lead for the Mexicans.
Were it not for a splendid save by Gaston Guruceaga, it would have been two, with the Uruguay keeper denying an unmarked Pineda. And that save looked all the more crucial five minutes later. A deep free-kick wasn't defended well and Rodrigo Amaral managed to scoop a volley towards goal. Gonzalez produced his second superb save to deny him an equaliser, but Suarez duly scrambled the rebound home to level the scores.
A second yellow in stoppage time for Erick Cabaco left the South Americans down to ten, but the drama was to follow seconds later. The free-kick he conceded, positioned right on the edge of the box, was converted with aplomb as Gutierrez picked out the top-right corner, leaving Guruceaga with no chance.