The United States progressed to the knockout stages of the FIFA World Cup, despite going down 1-0 to Germany on Thursday.
Thomas Muller continued his phenomenal World Cup form to seal top spot for Germany in Group G, while Portugal's 2-1 win over Ghana in Brasilia meant the USA progressed on goal difference at the expense of Paulo Bento's men.
Bayern Munich forward Muller claimed the Golden Boot in South Africa four years ago and scored a hat-trick in Germany's emphatic 4-0 opening win over Portugal this time around.
And 10 minutes after half-time in a rain-lashed Recife, Muller netted superbly from 18 yards, chalking up his ninth finals goal.
A draw at the Arena Pernambuco would have ensured progression for Germany and USA regardless of events in the capital, but any fears of collusion were brushed aside by a keenly contested affair - which briefly appeared under threat earlier in the day as torrential rain flooded roads in the surrounding area.
Joachim Low handed Lukas Podolski a first start of the tournament on the left side of his attack and the Arsenal forward blazed over in the second minute, as Germany pinned back their opponents during the opening stages.
Omar Gonzalez, preferred at centre-back to Geoff Cameron by USA coach Jurgan Klinsmann, made a vital 14th-minute interception when Muller looked set to convert Jerome Boateng's low cross.
But the USA grew into the game as a counter-attacking force and Graham Zusi arched a shot narrowly over from the left corner of the box midway through the first half.
By the time Tim Howard shovelled a Mesut Ozil effort to safety in the 34th minute, following a shimmying run from the Arsenal man, a more even contest had developed, although that was at the expense of the earlier intensity.
At half-time Low introduced veteran striker Miroslav Klose, hunting for an outright claim to the all-time World Cup finals goal record following his equaliser against Ghana last Saturday.
Gonzalez produced another vital intervention in the 48th minute to stop Ozil heading Germany in front, while Klose was unable to adjust in time to convert Philipp Lahm's cross.
Pressure told in the 55th minute when Muller smashed home emphatically from the edge of the box after Howard had parried Per Mertesacker's header.
The USA visibly rallied as news of Asamoah Gyan's equaliser for Ghana filtered through - a victory for the African nation would have seen them progress on goals scored, pipping the States for a third tournament in succession.
But a late Cristiano Ronaldo goal ensured Klinsmann's side, who went close in stoppage time as Alejandro Bedoya saw a goal-bound shot blocked by Lahm and Clint Dempsey headed over, will face the winners of Group H in Salvador on Tuesday.
That appears likely to be Belgium, while Algeria, South Korea and Russia all remain in the hunt to face Germany 24 hours earlier in Porto Alegre.
|Coach: J. Klinsmann|
for B. Davis 59'
for G. Zusi 84'
|Burton and Day depart West Brom|
|Mendilibar makes Eibar return|
|Milan agree to terminate Muntari contract|
|Copa final a dream come true for Sampaoli|
|CSKA Sofia demoted due to financial crisis|
|Wolfsburg warn off De Bruyne suitors|
|Kone: I want to prove I can cut it at Everton|
|West Ham v Lusitans: Bilic set for first game in charge|
|Millennium Stadium to host 2017 UEFA Champions League final|
|Ronaldo a ´possibility´ for Portugal´s Olympics squad|
|Liverpool should get rid of Sterling - Grobbelaar|
|Miranda arrives for Inter medical|
|Arsenal can challenge the best - Cech|
|Real star Bale can be better than Ronaldo, says Keegan|
|UEFA approves changes to FFP rules|
|Honduras v Mexico: Moreno´s injury may force Mexican rethink pre-Gold Cup|
|Hiddink was the wrong man for Netherlands - De Boer|
|Vargas: I was scoring with every shot at training|
|Zambrano red rocked Peru - Gareca|
|Paraguay to change tack against Argentina|
|Sampaoli thrilled with substitutes´ influence, applauds Peru|
|Martino rues Copa America date with former side Paraguay|
|Former Birmingham City player Thwaites among Tunisia victims|
|Chile 2 Peru 1: Zambrano´s red card helps hosts into Copa final|
|Thiago Silva: ´I didn´t even know the ball had hit my hand´|
|Ronaldinho set to sign for Antalyaspor|
|Jara ban reduced on appeal by one match|
|Hiddink leaves Netherlands post|
|Cresswell pens new five-year deal at West Ham|
|Koeman: No serious United bid for Schneiderlin|
|Barbados eliminated from World Cup qualifying after fielding ineligible player|
|Former Catania president admits buying matches|
|Jones agrees Manchester United deal|
|Argentina v Paraguay: Valdez hoping not to need another comeback|
|Milan seal Bertolacci signing|
|Cech grateful to Abramovich and Chelsea fans|
|UEFA Champions League Preview: Brotherly pride at stake as B36 play TNS|
|UEFA Europa League Preview: Tommasi set to aid La Fiorita qualifying bid|
|Cech leaves Chelsea to join Arsenal|
|Paulinho ends Spurs frustration with Guangzhou move|
|Sampdoria confirm Eto´o exit amid Antalyaspor talk|
|Garcia departs Espanyol ahead of expected Qatar move|
|Watford to delay Doyley decision|
|Schlupp agrees new Leicester deal|
|Schweinsteiger hints at Bayern stay amid United links|
|Bertolacci thrilled ahead of Milan move|
|Langerak leaves Dortmund for Stuttgart|
|Muniain extends Athletic contract|
|Youngsters to get chance on US tour - Van Gaal|
|La Liga chief hits out at Real Madrid over TV rights opposition|
|Villa confirm Wilkins as assistant manager|
|Dicks joins West Ham coaching staff|
|Heldt enters to jeers, exits to cheers|
|Paraguay pride has grown at Copa America - Aguilar|
|Van Gaal tight-lipped on De Gea|
|Bacca confirms Milan agreement|
|Weight of expectation on hosts Chile to benefit Peru - Gareca|
|MLS Review: Timbers thump Sounders thanks to Adi´s double|
|Dzeko ´would run to Roma´ - Pjanic|
|Peru won´t sit back - Sampaoli|
|Zenga: Cassano, Balotelli will not be joining Sampdoria|
|Victory to start A-League defence away to Adelaide|
|I want to play MLS ´at the peak of my career´ - Johannsson|
|Allegri: I like Isco and Oscar|
|CAF Champions League Review: Comeback kings Smouha go top of Group A|
|Pirlo in attendance for New York derby|
|No Bayern deal yet, states Costa|
|Jara handed three-game ban|
|Sunderland striker Defoe sets 20-goal target|
|Leicester offer condolences to Albrighton and family after Tunisia attack|
|Chile v Peru: Potential Jara sanction hangs over semi-final|
|Sweden U21 v Portugal U21: History beckons for Jorge´s men|
|Neville appointed Valencia number two|
|Work halted at Olympic Stadium after fatality|
|Ibrahimovic in the same league as Messi - Sacchi|
|Giggs: United want to add winners|
|Turan sets record straight over transfer talk|
|Low keen for new Germany leaders to emerge|
|Tunisia part company with Leekens|
|Evans: Sterling´s Anfield exit must be a done deal|
|FIFA audit chief urges Blatter to stick by decision|
|Hrubesch urges caution after Germany U21s humbled|
|Taarabt hits out at ´very bad manager´ Redknapp|
|Bruce: I´m lucky I wasn´t sacked after Hull relegation|
|Van Hooijdonk warns Van Gaal over Depay tactics|
|SPFL looking into winter break|
|MLS Review: Earthquakes win California Clasico, Vancouver claim top spot in West|
|Muto must toughen up to succeed at Mainz - Ficcadenti|
|Diaz: Paraguay refuse to lose|
|Tragedy strikes for Paraguay match-winner Gonzalez|
|Robinho rues substitution, wanted to take penalty|
|Dunga: Brazil squad hit by virus|
|Fiorentina make ´insane offer´ to Salah|
|Women´s World Cup Review: England reach maiden semi-final|
|Mexico 2 Costa Rica 2: Herrera´s men recover after half-time|
|ES Setif 1 USM Alger 2: African champions beaten|
|Paraguay 1 Brazil 1 (4-3 on penalties): History repeats as Dunga´s men bow out|