The United States progressed to the knockout stages of the FIFA World Cup, despite going down 1-0 to Germany overnight.
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.
Risdon driven by World Cup ambition amid 'competitive' Caltex Socceroos camp
Caltex Socceroos right-back Josh Risdon is braced for an intense training standard as he seeks to realise his boyhood dream of FIFA World Cup selection. Risdon is in contention to add to his five international caps when Australia take on Norway in Oslo on Saturday morning (AED
Fit and firing Behich sets sights on twin Caltex Socceroos wins
Caltex Socceroos full-back Aziz Behich is taking career-best form into what he hopes will be back-to-back wins at the beginning of Bert van Marwijk's tenure. Australia's 26-man squad have assembled in Oslo ahead of Van Marwijk's first match in charge against Norway on Saturday
Norway v Caltex Socceroos: 4 key match ups
Bert van Marwijk’s first match in charge as Caltex Socceroos boss sees his side take on tricky European outfit Norway at the Ullevaal Stadion on Saturday, March 24 (AEDT). With a chance for his players to stake a claim for a spot on the plane to Russia in June, it’s an importa
Ultimate Guide: Caltex Socceroos vs Norway and Colombia
Caltex Socceroos coach Bert van Marwijk has assembled a 26-man squad for this month's twin friendlies that will help determine his FIFA World Cup roster. The players on show against Norway and Colombia have the chance to show the new boss what they can do as they push to squee