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'
|Mourinho has not lost his magic, insists Mikel|
|Suarez open to Ajax return|
|Young: There is more to come from Pogba|
|Digne at home in Barcelona and ready to help win trophies|
|Defoe´s finishing is ´absurd´ - Bilic|
|Stekelenburg grounded despite penalty heroics|
|Thiago Silva can be our Pirlo - Juve CEO hints at move for PSG defender|
|Koscielny calls for ´tough´ Arsenal|
|Birthday boy Wenger: Result will determine celebrations|
|MLS fines Drogba for Impact snub|
|Klopp backs Sturridge to bounce back|
|Conte: Chelsea still scarred from last season|
|Giggs: United decline was not inevitable|
|Falcao nets as brilliant Monaco hit Montpellier for six|
|Guardiola pleads patience for injury ravaged Kompany|
|No hard feelings as Mourinho focuses on Chelsea task|
|Guardiola: I don´t want City to play like Barcelona|
|Valencia fans´ Alcacer anger normal - Luis Enrique|
|Neymar: Playing for Barca is easy now|
|EPFL terminates agreement with UEFA|
|Aguero keeps Argentina spot, Messi returns|
|Donnarumma eyes Milan captaincy|
|Napoli fans banned from Juve trip|
|Mertesacker hails ´hungry´ hat-trick hero Ozil|
|Suarez says Barcelona renewal talks ´really advanced´|
|Lack of European football can aid Liverpool´s title bid - Pulis|
|European breaks do not benefit Chelsea - Conte|
|Pardew backs Leicester to ´come through´ tough start|
|Pochettino one of ´the very best´ coaches, says Howe|
|Puel backs Manchester City for Premier League title|
|Abramovich and I were not friends - Mourinho|
|It was not mutual consent, I was sacked by Chelsea - Mourinho|
|Brazil recall Douglas Costa, Marcelo and Casemiro for Argentina clash|
|Luis Enrique: If Messi is at his best, nobody knows how to stop him|
|Ramos deserves more than he earns - Perez|
|Neymar renewal proves Barcelona team spirit, says Luis Enrique|
|Bravo mistakes will be on the front page - Guardiola|
|I would sign Modric as Scholes´ successor - Giggs|
|At last! Neymar signs new Barcelona contract|
|Ronaldo injury helped Portugal to Euro 2016 success, says Abidal|
|Ronaldo injury helped Portugal to Euro 2016 success, says Abidal|
|Rummenigge blasts Premier League clubs for ´kidnapping´|
|Prandelli awed by Messi but ´dreaming big´ against Barcelona|
|Guardiola fumes at Aguero rumours after Barcelona omission|
|Conte: Mourinho deserves maximum respect|
|Moses happy for Conte chance after Mourinho struggle|
|Garcia dreaming of glory with lowly Marseille|
|Dawson back as Phelan expects Hull reaction|
|Conte declares Terry fit to face Mourinho´s United|
|Pardew: Why would I leave Palace for England?|
|Montella wants San Siro to strike fear into Juventus|
|Guardiola criticism ´political´, says Del Bosque|
|Ancelotti ready to unleash rampant Robben once more|
|Chelsea in a good position - Mourinho|
|Tuchel heartened by Reus return|
|Allegri wary of AC Milan after Inter ´whack´|
|Koeman hopes for Barkley ´wake-up call´|
|Melbourne City 2 Perth Glory 3: Keogh hat-tricks decider thriller|
|Dybala delighted to stay at Juve after rejected offer|
|Hughes eager to test Hull fragility|
|Carrasco extends Atletico contract|
|Moyes: I am under pressure - just like Guardiola|
|Wenger talks up Arsenal´s title credentials|
|Fuchs signs new Leicester contract|
|Guardiola doesn´t communicate - Benatia|
|Magical Messi from another planet, says awestruck Digne|
|Wenger pleased to see Ozil on goal trail as talks continue|
|Evra hails old rival Suarez as ´the best number 9´|
|Ranieri: I feel like a hybrid car|
|Falcao returns for Monaco|
|De Bruyne defends Guardiola tactics|
|Del Bosque: I rejected €10m offer from China|
|CONCACAF Champions League Review: Pumas, Dallas reach QFs|
|Alli like ´wild horse´ - Pochettino|
|Nani hails ´special´ Messi|
|Serious knee injury sidelines Hull´s Odubajo for six months|
|Mkhitaryan edging closer to comeback - Mourinho|
|Klopp: United game good prep for West Brom|
|Pogba praises Rooney after resounding win|
|Under-fire De Boer driven by reaching knockout stages|
|Pogba no longer Premier League´s ´worst´ player, mocks Mourinho|
|Austria Vienna spoil Totti milestone|
|Manchester United 4 Fenerbahce 1: Van Persie nets on return as Pogba stars|
|Puel rues unfortunate Inter defeat|
|Inter 1 Southampton 0: Candreva seals fortunate win for Inter|
|Buffon rules out club management after retirement|
|Mazzarri ´very happy´ about Holebas-Capoue row|
|Non-European city could host Champions League final - UEFA|
|Bradley calls for players to reconnect with fans|
|Pochettino lauds ´fantastic´ Howe|
|Frankfurt´s Russ eyeing return after tumour disease all-clear|
|Karanka insists Middlesbrough will not sit back against Arsenal|
|Atletico Madrid cannot sign players in January after FIFA deal|
|Koeman calls for greater Lukaku support|
|Suarez: Two goals at the Bernabeu were my best|
|Pochettino delivers mixed news on injury front|
|Karius has Klopp´s confidence|
|Suarez hopes to finish his career at Barcelona|
|Burnley suffer Defour injury blow|
|Marseille confirm Garcia appointment|
|No concerns for Ranieri as Vardy, Morgan and King miss training|
|Tony Pulis is Tony Pulis - Klopp not expecting surprises from West Brom|
|Garcia´s Roma contract terminated amid Marseille reports|
|Injured Pique ruled out for three weeks|
|Moyes the builder will fix Sunderland, says chief exec Bain|
|Walcott impressed by the ´new, aggressive´ Ozil|
|Bilic eyes Ayew injury boost|
|Bonaventura on Icardi saga: I´ll wait until I´ve won something before writing a book!|
|Van Persie: I may still be at Man Utd if Ferguson was in charge|
|Emery wants more from PSG despite victory|
|Muller: Bayern enjoyed PSV rout|
|Barcelona lose Alba and Pique to injury|
|Nolito: Messi made the difference|
|CONCACAF Champions League Review: Pachuca edge through, Timbers out|
|Ozil has ´taste´ for goals - Wenger|
|Renard, Morocco prepared for AFCON test|
|Guardiola: Barca loss not my worst|
|Luis Enrique hails ´decisive´ Messi|
|Pulisic, Green & Morris´ youth movement delight USMNT legend Jones|
|Clinical Barca point the way for Sterling and City|
|Sarri: Napoli making life hard for ourselves|
|That´s life for goalkeepers - Ter Stegen on Bravo woe|
|Schubert delighted with mature Gladbach display|
|Gunes not getting carried away after Besiktas upset Napoli|
|Lucas praises PSG response to stuttering start|
|Luis Enrique happy to rule in game of errors|
|Vitoria: Benfica face three more finals|