Andre Schurrle's hat-trick saw Germany beat Sweden 5-3 in their final World Cup qualifier at the Friends Arena on Tuesday.
Germany finish Group C unbeaten but had to come from behind to do so, with Tobias Hysen and Alexander Kacaniklic putting the home side ahead within 42 minutes.
However, Mesut Ozil pulled one back for the visitors prior to the break before early second-half goals from Mario Gotze and Schurrle put Germany ahead.
While Hysen's second briefly turned up the heat on Joachim Low's men, Schurrle completed his treble to gain revenge on Sweden - who are the only team to take points off Germany in qualification after the 4-4 draw in the first meeting between the sides.
Sweden's main changes were in their forward line, with Ola Toivonen and Hysen replacing Zlatan Ibrahimovic, who was suspended, and Johan Elmander up front.
Joachim Low had made no secret of his desire to experiment with Germany's line-up and he made two changes. Mats Hummels came in for Per Mertesacker in defence while Max Kruse replaced Sami Khedira.
Bastian Schweinsteiger won his 100th cap while Kruse's inclusion saw Ozil drop into a deeper role than during Friday's 3-0 win over Republic of Ireland.
The hosts took the lead when Hysen coolly slotted home after just six minutes as Germany conceded a goal in the opening 45 minutes for the first time in qualification.
The forward latched on to a Sebastian Larsson through ball, which Toivonen did well to steer clear of, before sidefooting the ball past the onrushing Manuel Neuer.
Thomas Muller saw his header bounce back off the crossbar five minutes later as Germany applied plenty of pressure in an attempt to get back on level terms.
However, Low's men were frustrated by a resolute Sweden defence, and they did not threaten again until Schweinsteiger curled an effort over seven minutes before the break.
But Sweden doubled their lead through Kacaniklic when he converted from inside the area, with the Fulham striker timing his run well to stay onside and fire home past Neuer from Kim Kallstrom's lofted ball.
On the stroke of half-time, Ozil marked his 25th birthday with a goal, pulling one back for the visitors when his right-footed effort left Johan Wiland with no chance.
Germany were level soon after the break, courtesy of a curled finish from substitute Gotze.
The Bayern Munich midfielder, a replacement for Muller, bent his right foot around the ball in the box, after good work from Ozil to set up the chance, to restore parity eight minutes into the second half.
Schurrle put the visitors ahead for the first time in the match when he latched on to a mistake from Per Nilsson, three minutes short of the hour mark, and Germany capitalised on another Sweden mistake to move two goals clear nine minutes later.
Gotze kept posession well after Mikael Antonsson lost the ball, playing in Schurrle, who kept his composure to complete a brace.
Still the goals continued, with Hysen emphatically crashing home a Larsson free-kick from the left after 69 minutes before Germany hit back as Schurrle completed his hat-trick.
He cut onto his right foot before curling an effort past a helpless Wiland 14 minutes from time to cap off a superb performance.
|14||T. Hysén||6' 69'|
|Coach: E. Hamrén|
for R. Elm 58'
for A. Kačaniklić 73'
for O. Toivonen 84'
|Wijnaldum rejected Everton for Klopp|
|Pre-season Manchester derby cancelled|
|Coutinho excited by ´fast´ Liverpool recruits|
|Cristiano Ronaldo and Conor McGregor step into the ring together|
|Mancini coy on reports linking Icardi to Napoli|
|Nolito reveals why he chose Man City over Barcelona|
|Inter 1 Paris Saint-Germain 3: Icardi absence in defeat fuels Napoli talk|
|MLS Review: Wright-Phillips double inspires Red Bulls to New York derby rout|
|James seeks more game time at Madrid|
|Rooney: I want to be a manager|
|Mignolet welcomes Karius challenge in Liverpool number one battle|
|Batshuayi buoyed by winning vibes at Chelsea|
|Moyes and Sunderland players diverted after plane fault|
|´Loved´ Varane targets long Madrid stay|
|Kostic set for Hamburg medical|
|Leicester crying over Kante sale - Ranieri|
|Schurrle the perfect Mkhitaryan replacement - Tuchel|
|West Ham face anxious wait on Cresswell injury|
|Mourinho will accept criticism from United legends|
|Bertolacci desperate for fresh start after underwhelming first season at Milan|
|Hoops hand Toure one-year deal|
|Origi ready to fight for Liverpool spot|
|Emery wants PSG stay for ´fantastic´ Matuidi|
|No Barcelona offer for Vietto - Cerezo|
|Burnley apologise for racist abuse from supporter|
|Guardiola will not rush Kompany comeback|
|Of course I´ll shake Guardiola´s hand, snaps riled Mourinho|
|Watzke: No more signings for Dortmund|
|Roma expect Manolas to snub Premier League move|
|Adriano set to leave Barcelona for Besiktas|
|Manchester United in worst possible situation - Mourinho|
|Sporting would have to sell stadium to afford Van Persie - Jesus|
|Jonas´ agent confirms Barcelona approach|
|No problem with Mourinho, insists Guardiola ahead of derby in China|
|Toronto´s hat-trick hero Giovinco: I´m back|
|Drogba revels in ´special night´, dedicates hat-trick to family|
|MLS Review: Hat-tricks for Drogba and Giovinco as stars shine|
|Whelan backs Liverpool for top-four finish|
|Pellegrini still waiting for right offer|
|Ronaldo deserves to win Ballon d´Or - Vazquez|
|Phelan wants Hull job|
|Alaba saddened by Gotze exit|
|Morgan: Vardy right to re-sign|
|Maradona ´hurting´ as Higuain closes on Juventus move|
|Moyes watches Sunderland win, Ibe opens account in six-goal Bournemouth thriller|
|Messi cuts short holiday for Barcelona training camp|
|Ranieri still confident of keeping Mahrez|
|Toure to complete Celtic move on Sunday, says Rodgers|
|Vietto sends Simeone a reminder amid Barcelona links|
|Celtic 1 Leicester City 1 (5-6 on penalties): Mahrez magic the highlight as Ranieri´s side triumph i|
|Ribery, Alaba on target in Bayern win|
|Neymar hails Micale ahead of Olympic tilt|
|Ronaldo wants Real Madrid renewal|
|Ochoa joins Granada from Malaga|
|Heidel quashes Meyer to Liverpool as ´nonsense´|
|Scholes challenges Allardyce to change England mentality|
|Tenerife star Crosas investigated for killing endangered shark|
|De Gea: Manchester United can win title under Mourinho|
|Marseille replace Batshuayi with brother Leya Iseka|
|Cristiano Ronaldo: Best season of my career|
|Scholes: Pogba is not worth £100million|
|Gotze has not forgotten how to play football - Riedle|
|Delph learning more than ever under Guardiola|
|Jovetic ´not worried´ about Juventus|
|Allardyce wants Euro 2016 woes to fire his England|
|Giggs not in a rush to take manager´s job|
|Lopetegui: If not for Spain I would be Wolves boss|
|Shaw one of best left-backs in world - Herrera|
|Injured Sanchez to miss Arsenal tour|
|Melbourne Victory 1 Juventus 1 (Melbourne win 4-3 on pens): Thomas inspires Victory as Juve pay pena|
|Janssen: Ajax and PSV were never going to pay as much as Tottenham|
|Bayern to make Munich shooting tributes|
|Wenger wishes luck to old foe Allardyce|
|United defender Varela joins Frankfurt on loan|
|Sunderland appoint Moyes as Allardyce replacement|
|Javi Martinez devastated by Munich shootings|
|Rooney: I´m desperate to play for Mourinho, just like under Ferguson|
|Godin: Champions League the dream, but LaLiga the focus|
|Klopp hails Wijnaldum´s ´football smartness´|
|Klavan ready to fight for starting spot after completing ´dream´ Liverpool move|
|Real Salt Lake 1 San Jose Earthquakes 1: Mulholland salvages point|
|Madeira airport to be named after Cristiano Ronaldo|
|Villar, Ceferin and Van Praag announce UEFA presidential bid|
|Witsel has offers from England and Italy|
|Tuchel will bring out Gotze´s best - Watzke|
|Swansea confirm interest in Liverpool´s Allen|
|Arsenal´s Coquelin: LeBron v Curry is like Messi v Ronaldo|
|Rooney backs Allardyce appointment|
|Bayern and Ancelotti respond to Munich attacks|
|West Brom friendly cancelled over violence concerns|