Uruguay have managed to set up a quarter-final meeting with hosts Argentina in the 2011 Copa America.
The Uruguayans required a victory over Mexico to finish second on the Group C table after Chile had earlier beaten Peru thanks to an injury-time own goal from debutant Andre Carrillo.
Alvaro Pereira got his side off to a good start when he pounced on an error from Mexico keeper Luis Michel to toe-poke home from close range in the 14th minute for his second goal in two matches.
Uruguay had the much better of the chances with Diego Forlan hitting the upright from inside the penalty box when he should have scored unmarked on the half-hour mark before missing another great chance in the 64th minute only to see his attempt whistle over the crossbar.
Luis Suarez was wide with his slider with the outside of his right foot not long after Forlan's miss and Nicolas Lodeiro hit the post later on, but in the end, Pereira's earlier goal was enough to down the Mexicans 1-0 and put Oscar Tabarez and his men through to the knockout phase where they will meet Argentina in Santa Fe on Saturday.
Chile, who overcame Peru earlier yesterday, now await the winner of Group B which finishes tomorrow after second-placed Paraguay take on group leaders Venezuela and Brazil meet Ecuador.
2011 Copa America - Argentina
Friday July 1Argentina: 1 (Sergio Aguero 75') Bolivia: 1 (Edvaldo Rojas 48') Estadio Ciudad de La Plata, La Plata
Saturday July 2Colombia: 1 (Adrian Ramos 45') Costa Rica: 0 (red card: Randall Brenes 27') Estadio 23 de Agosto, Jujuy
Wednesday July 6Argentina: 0 Colombia: 0 Estadio Brigadier General Estanislao Lopez, Santa Fe
Thursday June 7Bolivia: 0 (red cards: Ronald Rivero 70', Walter Flores 75') Costa Rica: 2 (Jose Martinez 58', Joel Campbell 78') Estadio 23 de Agosto, Jujuy
Sunday July 10Colombia: 2 (Radamel Falcao 14'/(p) 28') Bolivia:0 Estadio Brigadier General Estanislao Lopez, Santa Fe
Sunday July 3Brazil: 0 Venezuela: 0 Estadio Ciudad de La Plata, La Plata
Paraguay: 0 Ecuador: 0 Estadio Brigadier General Estanislao Lopez, Santa Fe
Venezuela: 1 (Cesar Gonzalez 61') Ecuador: 0 Estadio Padre Ernesto Martearena, Salta
Monday July 4Uruguay: 1 (Luis Suarez 45') Peru: 1 (Paolo Guerrero 23') Estadio del Bicentenario, San Juan
Chile: 2 (Esteban Paredes 66', Arturo Vidal 72') Mexico: 1 (Nestor Araujo 40') Estadio del Bicentenario, San Juan
Peru: 1 (Jose Guerrero 82') Mexico: 0 Estadio Malvinas Argentinas, Mendoza
Uruguay: 1 (Alvaro Pereira 14') Mexico: 0 Estadio Ciudad de La Plata, La Plata