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'
|Eredivisie Preview: Feyenoord out to maintain winning form|
|Everton can finish top four next season - Osman|
|Copa Libertadores Review: Corinthians preserve perfect record|
|Serie A Preview: Lazio hoping to overhaul Roma|
|Bundesliga Preview: Undermanned Bayern set for Dortmund trip|
|Filipe Luis plans to see out Chelsea contract|
|United cannot dwell on Liverpool win - Rooney|
|Bojan: I´ll return better than ever|
|Pique focused ahead of crucial period for Barca|
|Coventry City 0 Leyton Orient 1: Wright´s goal lifts visitors out of relegation zone|
|US senators want Russia removed as 2018 World Cup host|
|Advocaat hoping to see Brown again this season|
|Aubameyang eyes Europa League spot ahead of Bayern test|
|Pique expecting Messi to be fit to face Celta|
|Sterling: I´m not a money-grabber|
|Elche players and staff cancel club commitments|
|Milik makes permanent Ajax switch|
|Ligue 1 Preview: PSG out to extend Classique record against Marseille|
|Real´s Pepe suffers thigh injury|
|League One Preview: Clough not panicking in promotion bid|
|West Ham set to welcome Reid back for Leicester|
|League Two Preview: Johnson begins survival bid with Cheltenham|
|Icardi keen to commit his future to Inter|
|Swansea dealt Carroll injury blow|
|Jardim keen to maintain Monaco´s Ligue 1 surge|
|Debuchy relieved after stepping up Arsenal comeback|
|Championship Preview: Bournemouth ready to unleash Jones at Ipswich|
|Alaba faces seven-week absence|
|West Brom´s Mulumbu wary of tricky run-in|
|Elliott unsure over Carver future|
|UEFA and FIFPro launch third-party ownership complaint|
|Lucas keen for Liverpool return|
|UEFA to investigate disruptions in Georgia|
|Selke swaps Bremen for Leipzig|
|Hurst backs Allardyce amid uncertain future|
|Herrmann pens Gladbach extension|
|Pique calm over Spain defeat|
|Queiroz leaves Iran|
|Hiddink fumes at booing of Iniesta|
|La Liga Preview: Sevilla working on new Emery deal ahead of Bilbao´s visit|
|Santos: Portugal attitude was fine in Cape Verde defeat|
|Bayern face anxious wait over Alaba injury|
|´Title is within reach´ for Marseille - Ocampos|
|Martino hails Argentina performance|
|MLS Preview: DC United, Orlando City battle for top spot|
|Panama 2 Costa Rica 1: Perez, Tejada end visitors´ unbeaten run|
|Kluivert´s Curacao advance to second round|
|Mexico 1 Paraguay 0: Eduardo Herrera´s debut goal secures victory|
|Mexico 1-0 Paraguay: Eduardo Herrera's debut goal secures victory|
|Argentina 2 Ecuador 1: Pastore the hero in Messi´s absence|
|Peru 0 Venezuela 1: Martinez goal settles heated contest|
|Wilmots pleased with Belgium´s response|
|Hodgson satisfied with draw|
|Argentina 2-1 Ecuador: Pastore the hero in Messi's absence|
|Real agree to sign Danilo|
|Turin return evoked ´strong emotions´ for Conte|
|Hiddink looking to build on Spain win|
|Del Bosque frustrated by friendly defeat|
|Bradford City 0 Chesterfield 1: Harrison strike moves visitors into play-off places|
|Portugal 0 Cape Verde 2: Hosts suffer shock friendly defeat|
|Townsend takes swipe at TV pundit Merson|
|Plane issue grounds England squad|
|Israel 0 Belgium 1: Fellaini nets again as Kompany sees red|
|N´Koulou returns to full Marseille training|
|Netherlands 2 Spain 0: Hosts ease pressure on Hiddink|
|Italy 1 England 1: Townsend leveller rescues draw|
|Ghana 1 Mali 1: Sako spot-kick denies Black Stars|
|Luxembourg 1 Turkey 2: Calhanoglu stakes claim with late winner|
|Ghana 1-1 Mali: Sako spot-kick denies Black Stars|
|Italy 1-1 England: Townsend rocket earns draw for Three Lions|
|Rummenigge marvels at ´genius´ Guardiola|
|Switzerland 1 United States 1: Stocker seals draw after Altidore red|
|Young players should not need a break, says Dyche|
|Tottenham acquire final piece of land for new stadium|
|Portugal 0-2 Cape Verde Islands: African minnows claim historic victory|
|Netherlands 2-0 Spain: Rejuvenated Dutch ease pressure on Hiddink|
|Switzerland 1-1 USA: Altidore sent off in friendly draw|
|Palestinian FA speaks out against Israel-Belgium venue selection|
|Valdes enjoying football again after injury nightmare|
|Emotional Cha retires ´a happy man´|
|Dortmund´s Kirch suffers knee injury|
|Newcastle need to be mentally prepared, says Williamson|
|Leno ´knows nothing´ of Real interest|
|Tunisia to compete in AFCON after apology|
|Van der Vaart not allowing future to affect his game|
|Vlaar: Sherwood has reduced stress levels|
|Roma hit by Gervinho hamstring blow|
|Jones optimistic over Everton´s strike partnership|
|Milik sustains knee ligament damage|
|Georgia fear stadium closure for Scotland clash|
|Zamparini: Juventus and Arsenal have bid for Dybala|
|South Korea 1 New Zealand 0: Lee nets late winner|
|Japan 5 Uzbekistan 1: Five-star hosts maintain Halilhodzic start|
|European clubs benefit from UEFA agreement|
|Vassell: Sky is the limit for Kane|
|Manchester United move would be an ´honour´ for Coentrao|
|Insigne out to bolster Napoli season after lay-off|
|Rooney warns Kane over ´clever´ Italy defenders|
|Rangers results reveal £500,000 Newcastle clause|
|Southampton announce £33.4m profit|
|´I am a very flexible man´ - Van Gaal|
|A-League Preview: Top spot up for grabs|
|Portugal - Cape Verde Preview: Andre and Oliveira eager for international bows|
|Puerto Rico 0 Canada 3: Floro´s men rout hosts|
|Xavi denies Al Sadd link|
|Fernando´s life ban upheld by CAS|
|Argentina - Ecuador Preview: Messi remains doubtful for friendly|
|Falcao equals Colombia´s all-time scoring record|
|Macedonia trip good learning curve - Postecoglou|