Lionel Messi was sent off as Argentina beat Chile 2-1 to clinch Copa America bronze with both sides reduced to 10 men in an ill-tempered clash at Arena Corinthians.
The five-time Ballon d'Or winner appeared to be the victim of shoving by Chile's Gary Medel, but the referee sent both players off after 37 minutes with Argentina already two goals to the good.
READ| Copa America, as it happened: Argentina sees off Chile despite Messi red card to finish third
Messi provided the assist for Sergio Aguero's 12th-minute opener before Juventus forward Paulo Dybala doubled Argentina's lead, but the first half ended with protests against the contentious red cards.
There were 21 fouls before the break and sparks continued to fly as Chile was awarded a penalty just before the hour, Arturo Vidal scoring from the spot.
Reinaldo Rueda's men failed to force an equaliser, but there was time for three further bookings that took the tally of cards shown to nine at the end of an explosive encounter.
Aguero lashed a shot narrowly wide after seven minutes but made amends moments later when Messi's nonchalant free-kick picked out the Manchester City striker, who rounded Gabriel Arias before slotting home from a tight angle.
Chile's Alexis Sanchez limped off clutching his hamstring before Arias made a diving save from an 18-yard Messi drive but was beaten again when Dybala controlled Giovani Lo Celso's throughball and chipped over the goalkeeper from the edge of the six-yard box.
READ| Copa America: Messi sent off after altercation with Medel
Dybala sent a flying volley just wide before a volatile first half turned nasty when Medel pushed Messi around the pitch only for the referee to send both players off amid vociferous complaints on all sides.
The second half began with a a penalty claim, Charles Aranguiz appearing to bundle Aguero over in the box, but the referee saw no foul.
He awarded a penalty to Chile when Lo Celso slid in late on Aranguiz and Vidal lashed the spot-kick straight down the middle.
Lionel Scaloni sent on Angel Di Maria for Dybala and the winger embarked on a mazy dribble past several Chile players before selling Aguero slightly short with his final ball and the striker fired tamely at Arias with the last clear chance of the game.
What does it mean? Scaloni's future remains hopeful
Argentina's failure to reach the final left Scaloni under pressure and his contract is up at the end of the year, but avoiding defeat here will have taken some of the heat of the Albiceleste coach.
READ| Copa America: Sanchez limps out of Argentina clash
Dybala looking dangerous
Reportedly a transfer target for Manchester United, Paulo Dybala did his chances of earning a lucrative move away from Juventus no harm with a lively performance and a well-taken goal.
Pulgar lucky to stay on
On a night when the referee was struggling to keep order, Erick Pulgar was lucky to escape with just a booking after throwing himself into several rash challenges.
Chile will have the opportunity for revenge when the two sides meet in September in a game that looks likely to make a mockery of the term 'friendly'.
Latest on Sportstar
- Duplantis sets new 2023 pole vault best
- Champion Napoli ends season with 2-0 win over bottom side Sampdoria
- Benzema scores on farewell but Real held at home by Bilbao
- RMA 1-1 ATH; La Liga Highlights: Benzema goal helps Real Madrid secure draw against Athletic Bilbao
- Saudi Arabia’s Al Ittihad to sign Benzema on two-year deal - Saudi state media