Panama beat Bolivia 3-1 on Monday to finish second in Group C and qualify for the Copa America quarter-finals after tournament hosts United States were eliminated following a 1-0 loss to group winners Uruguay.
Panama are playing in only their second Copa America and the victory moved them up to second with six points, three points above the U.S., as the central American side reached the knockout stage for the first time.
Uruguay finished with nine points.
Bolivia needed a win with only a slim chance of staying alive in the tournament, but it was Panama who drew first blood when Jose Fajardo expertly controlled a header into the box, let it bounce and volleyed home in the 22nd minute.
Bolivia equalised in the 69th minute when they cut through Panama's midfield and defence, with Ramiro Vaca finding Bruno Miranda, who slipped his shot past the keeper.
But Panama wrested back control of qualification 10 minutes later when Eric Davis curled in a cross from the left and Eduardo Guerrero connected with a glancing header.
Panama scored again in added time when Cesar Yanis was put through on goal and he volleyed the ball into the top corner to give them a two-goal cushion, sparking wild celebrations at the Inter&Co Stadium.
0bb0fcc9 4313 48d8 9f8e 30d7a1766435 Getty 1197767979 ?w=800&auto=format%2Ccompress&cs=srgb&q=70&fit=crop&crop=focalpoint&fp X=0.41033434650455924&fp Y=0.19433198380566802Sarah Hyland 55 1 Sarah Hyland Wedding 1 E2c556798f144d07b65cf917721215b0 Sarah Hyland Dons Plunging Black Dress At Cmt Music Awards 2019 10 Sarah Hyland People's Choice Award 2021 Hairstyle Sarah Hyland And Wells Adams Are Seen On November 19 2018 News Photo 1568751458 ?crop=0.808xw 0.908xh;0.0952xw,0.0931xh&resize=980 *Vogue Wedding Sarah Jane Hyland Wells Richard Adams 093 0051acd9222307421afa89887e8c6535Love Island Sarah Hyland Wells Adams 18fa5c0b3042c3ed1fca9831060366e7Sarah Hyland Wells Adams 1 ?quality=90&strip=all&w=1236&h=820&crop=1Sarah Hyland Attends The 2019 Vanity Fair Oscar Party At News Photo 1132043924 1565624949 B4e1542afd15aecf9d1aa8adeab8293f Sarah Wells E38a16f7063ba6765c82a94c64a3ee3fSarah Hyland Wells Adam Cut Lede Rs 1024x1024 180724125028 1024 Sarah Hyland Wells Adams 072418 ?fit=around|1024 1024&output Quality=90&crop=1024 1024;center,topSarah Hyland Pussy Shots Wells Adams And Sarah Hyland Attend The 2020 Instyle And News Photo 1586358926 ?crop=1.00xw 0.334xh;0,0.0716xh&resize=1200 *Sarah Hyland Wells Adams Move In Together 02 78080a77 Ae07 4b41 Affb A87756d1bc7f GTY 1078450064.JPGSarah Hyland 2020 SAG Awards 1 ?w=680Sarah Hyland 1692668548256 1692668571946 Sarah Hyland Wells Adams Getty Sarah Hyland And Wells Adams Engagement Party 2 Gettyimages 1200619238 Sarah Hyland Wells Adams Celebrate Four Years Together 04 Sarah Hyland And Adams Wells Out In Studio City 05 26 2018 7 61593291 0 Image A 31 1661125057083 GettyImages 1078641414 Sarahwelllsupdate F701c689c412444f8462199a917180e2 057c94f2ec6f31e3a795a72a2377c0e4Af1f2a8f68b80eb9d2461d6b122105a0 SHYLAND ?w=700&h=437&crop=1