Chile have topped Group C in the Copa America after sealing their quarter-final spot with a dramatic 1-0 victory over Peru in their final group match in Mendoza.
The Chileans left it late, though, and only claimed maximum points thanks to Peru midfielder André Carrillo deflecting into his own net two minutes into stoppage time as Peru failed to deal with a corner.
Despite the loss, Peru are also guaranteed a spot on the final eight of the tournament, but both sides could be fielding weakened line-ups in the quarter-finals after each team had a player sent-off in the 62nd minute when Jean Beausejour and Giancarlo Carmona were involved in an on-field altercation.
Starting without stars Alexis Sanchez and Arturo Vidal, Chile looked to striker Humberto Suazo for inspiration. However, the Monterrey striker was unable to make the most of goalscoring opportunities throughout the first-half, despite his side dominating possession.
Sanchez made an appearance in the second-half, and when he was fouled by Cristian Ramos a melee ensued which led to the dismissal of Beausejour and Carmona.
It appeared that a stalemate was assured with very few chances in the second-half, but with their final foray into Peru's territory, Chile were gifted the winner when Carillo put the ball into his own net.
Uruguay have defeated Mexico 1-0 to set up a mouth-watering showdown with hosts and favourites Argentina in the quarter-finals.
Alvaro Pereira scored the only goal of the game after 14 minutes, but there was only one side in the contest as the World Cup semi-finalists dominated the youthful Mexican side. Pereira made the most of a mistake by goalkeeper Luis Michel from a Diego Forlan free-kick to get the Uruguayans off the the ideal start.
Giovani Dos Santos forced a fine save out of Fernando Muslera in the first-half, but that would be Mexico's best opportunity in a match controlled by the likes of Luis Suarez and Forlan. The Atletico Madrid striker will now have the chance to break his nation's long-standing record for most caps in Saturday's match against rivals Argentina in Santa Fe, surpassing the mark set by Rodolfo Rodriguez.
Chile, meanwhile, will play Group B's second-placed team in San Juan in the final eight, which will be Brazil, Paraguay or Venezuela. Peru will also have to wait for the results of Wednesday's matches to find out their next opponents.