Panama have missed out on a FIFA World Cup play-off spot after a heartbreaking 3-2 loss to the United States on Tuesday.
Needing a win and for Mexico to lose in Costa Rica, Panama looked to have got both results and appeared to be on the verge of snatching the play-off spot in CONCACAF qualifying.
Luis Tejada's 83rd-minute goal looked to have been enough before the USA equalised in the 92nd minute through Graham Zusi.
And Aron Johannsson ensured there would be no chance of Panama reaching their first ever World Cup when he struck a minute later.
Michael Orozco had cancelled out Gabriel Torres' opener earlier on, with Mexico fortuitously falling into the play-off and a tie against New Zealand.
Wet conditions made maintaining possession difficult for both sides early on at the Estadio Rommel Fernandez Gutierrez.
Panama were ahead on 18 minutes courtesy of a fine strike from Torres.
A fast counter-attack led to Marcos Sanchez playing the ball into the path of the Colorado Rapids forward, who side-footed a superb finish into the bottom corner.
A minute later and Panama could have doubled their lead in almost identical fashion.
This time it was Blas Perez on the end of the chance, but the FC Dallas striker's effort was too narrow and kept out by Brad Guzan.
Panama went close to doubling their advantage two minutes before half-time, but Perez was stretching and acrobatically volleyed Torres' cross over.
Julio Dely Valdes' men had a glorious chance to make it 2-0 just nine minutes into the second half.
Alberto Quintero's run down the left led to him cutting inside and setting up Perez, whose low side-footed shot was somehow kept out and scrambled away by the USA.
And Panama were made to pay for their wastefulness in the 64th minute as the USA equalised through Orozco.
Brad Davis' in-swinging corner bounced off Orozco and into the bottom corner to put Jurgen Klinsmann's men on level terms.
Soon after, Torres was denied after a lovely through ball by Quintero, with Guzan standing up to make a good save.
It was Guzan who was partly at fault for Panama's goal in the 83rd minute.
Substitute Roberto Chen was released down the right and composed himself and waited for runners before crossing.
Guzan parried the cross, but straight into the path of substitute Luis Tejada to tap in and send the home fans wild.
But Zusi headed in a Davis cross to break Panamanian hearts before Johannsson gave Klinsmann's men victory and left the hosts' players in despair after the final whistle.
Meanwhile, Honduras confirmed their place at Brazil 2014 despite playing out a disappointing 2-2 draw at last-placed and winless Jamaica.
|Coach: J. Dely Valdés|
for C. Rodríguez 72'
for G. Gómez 72'
for M. Sánchez 78'
|Simeone bemoans inconsistency but says Atletico are improving|
|Mourinho won´t stand in the way of Rooney and CSL|
|Dzeko on target as Roma stay on Juve´s tail|
|Rakitic ready to cover for injured Busquets|
|Bale and Kane wish Mason well after serious injury|
|Busquets injury less severe than feared - Luis Enrique|
|Mason in stable condition after skull fracture|
|Senegal v Algeria: Misfiring favourites in last-chance saloon|
|PSV provide perfect finish for darts champ Van Gerwen|
|Broos predicts ´something great´ for Cameroon|
|Eibar 0 Barcelona 4: MSN see Barca to victory after Busquets blow|
|Busquets sustains ankle ligament damage in Eibar v Barcelona|
|Cameroon 0 Gabon 0: Aubameyang miss haunts hosts as AFCON campaign ends|
|Guinea-Bissau 0 Burkina Faso 2: Traore on target as Stallions advance|
|Busquets injury at Eibar compounds Barcelona midfield woes|
|Deulofeu lands in Italy ahead of AC Milan move|
|´I made the best decision´ - Conte basks in Costa recall|
|Wenger urges Xhaka not to ´punish´ Arsenal|
|Ex-Bastia man Palmieri questions Balotelli racial abuse claims|
|Costa reaction hailed by Cahill|
|Manchester City must be mentally strong, says embattled Bravo|
|Chelsea 2 Hull City 0: Costa back with a bang for Blues|
|Koke lauds Griezmann ´stroke of genius´ as Atletico snatch draw|
|Pioli questions Ansaldi dismissal|
|´I should have shut up and I apologise´ - Wenger sorry for ref rant|
|Arsenal can be proud of this red-card record|
|Mustafi: Arsenal never give up|
|Higuain: Lazio posed no threat to Juventus|
|Athletic Bilbao 2 Atletico Madrid 2: Griezmann magic rescues point|
|Puel unsure Van Dijk will be fit for Liverpool clash|
|Free-scoring Monaco return to Ligue 1 summit|
|Arsenal 2 Burnley 1: Sanchez snatches thrilling win for 10-man Gunners|
|Palermo 0 Inter 1: Joao Mario strike extends Inter streak|
|Arsenal fans give Alexis Sanchez paws for thought|
|Costa returns to Chelsea XI to face Hull City|
|Inter cannot delude fans about Messi - Ausilio|
|Allegri admits new Juventus formation was a ´mad idea´|
|Leicester boss Ranieri admits to tactical mistakes|
|Zimbabwe v Tunisia: Kasperczek demands ruthlessness with quarter-final spot on the line|
|Southampton 3 Leicester City 0: Saints end losing streak but suffer potential Van Dijk blow|
|Juventus 2 Lazio 0: Dybala and Higuain strikes see leaders return to form|
|Iborra makes a mark at both ends as Sevilla scrape past Osasuna|
|Pogba hails ´brother´ Griezmann as Manchester United speculation continues|
|Costa fight rumour ´not nice´, says Courtois|
|Henry makes emotional Ozil plea: Stay and become an Arsenal legend|
|Welbeck still has huge promise, says Wenger|
|A-League Review: Wanderers finally end home hoodoo|
|Tevez denies he´s highest-paid player after CSL move|
|Napoli capable of greatness - Sarri|
|Montella proud of Milan display against Napoli|
|Ramos tells Madrid fans: We need support|
|Conte: Costa committed to Chelsea|
|Callejon credits ´Maradona effect´ as Napoli down AC Milan|
|Uganda didn´t deserve to lose - Sredojevic|
|Lloris kept us in the game - Pochettino backs captain despite errors|
|Guardiola ´never going to give up´ on Premier League title|
|Chapecoense make emotional return to football|
|Allardyce: Players don´t want to join Palace relegation fight|
|Pulis backs Berahino to get back on track at Stoke|
|AC Milan 1 Napoli 2: Callejon settles San Siro thriller|
|Guinea-Bissau v Burkina Faso: Cande not thinking about going home|
|Egypt 1 Uganda 0: El Said to the rescue for Pharaohs|
|Gabriel Jesus delighted to make Premier League bow|
|England boss Southgate lauds record-breaker Rooney|
|Leipzig beat Frankfurt to cut Bayern´s lead|
|Guardiola blasts missed chances, not referee, after Spurs draw|
|Candid Pochettino says City were unlucky not to beat Spurs|
|AC Milan ´still negotiating´ over Deulofeu|
|Ben Arfa content with striker role at PSG|
|Walker admits to Sterling push in contentious City-Spurs draw|
|Emery hails PSG personality after tricky Nantes test|
|Manchester City 2 Tottenham 2: Controversial Son strike bails out Lloris|
|Record-breaking Rooney: Lineker, Shearer and wife Coleen lead Twitter tributes|
|Knee surgery to end Ogbonna season - Bilic|
|Karanka hits out at ´awful´ Riverside atmosphere|
|Zidane urges Madrid fans to stick with Ronaldo and Benzema|
|Palace players not to blame for last-gasp defeat, claims Allardyce|
|Zidane frustrated as Marcelo and Modric add to Madrid´s injury worries|
|Howe praises Bournemouth ´fighters´ after Watford draw|
|Poor goals a disease for Sunderland - Moyes|
|Charlton, Ferguson hail ´true great´ Rooney|
|Tuchel annoyed by ´sluggish´ Dortmund|
|Mourinho: Rooney now a Manchester United legend|
|Ghana 1 Mali 0: Gyan heads Black Stars into quarter-finals|
|Nantes 0 Paris Saint-Germain 2: Cavani at the double as champions close on Nice|
|Better at Old Trafford, prolific against Arsenal - Rooney´s record in Opta numbers|
|Rooney: Record means a hell of a lot but I´m still disappointed|
|Fener free-kick to derby delight - Rooney´s top 10 Manchester United goals|
|Rooney merits place in history, forget the present and future struggles|
|Crystal Palace 0 Everton 1: Coleman late-show extends Allardyce´s losing run|
|Real Madrid 2 Malaga 1: Ramos double gets leaders back on track|
|Stoke City 1 Manchester United 1: Record-breaking Rooney snatches draw|
|West Brom 2 Sunderland 0: Baggies inflict more misery on Moyes´ men|
|Bournemouth 2 Watford 2: Hosts come from behind twice|
|Middlesbrough 1 West Ham 3: Rejuvenated Carroll makes the difference|
|Rooney becomes Manchester United´s all-time top goalscorer|
|Werder Bremen 1 Borussia Dortmund 2: Piszczek winner denies fightback|
|Cameroon v Gabon: Hosts look to avoid early exit|
|Swansea worthy winners at Anfield - Clement|
|Rummenigge defends Guardiola: Manchester City simply not as good as Bayern|
|Swansea had perfect gameplan, says match-winner Sigurdsson|
|Klopp baffled by sloppy Liverpool|
|Henry: Arsenal don´t need Payet – they have Iwobi|
|Allegri: Juventus have not lost their quality all of a sudden|
|Liverpool 2 Swansea City 3: Llorente and Sigurdsson stun Anfield|
|Nainggolan as valuable as Pogba - Spalletti|
|Atletico criticism excites Simeone|
|Luis Enrique worried about Eibar´s pitch|
|Januzaj: Pogba wants me back at Manchester United|
|There is nobody like him – Luis Enrique rues Iniesta absence|
|Mourinho: United need De Gea and Romero to stay|
|Chiellini: Sixth successive title would make Juventus players legends|
|A-League Review: Taggart fires Perth to glory|
|Balotelli furious after alleged racial abuse at Bastia|
|Tottenham stronger than previous seasons - Eriksen|
|Wenger prepared for 17 cup finals to overhaul Chelsea|
|Maldini: Donnarumma can emulate my Milan success|
|Klopp urges Liverpool to enjoy title race|
|Shaw going through ´difficult period´ - Mourinho|
|Klopp not worried by Sturridge, Origi form|
|De Gea backs ´amazing´ Pogba|
|Pochettino: Tottenham bigger than City|
|Conte: I trust Diego Costa 100 per cent|
|Lewandowski admits he was lucky for Bayern winner|
|City as sharp as Barca and Bayern but lacking consistency, says Guardiola|