Andre Schurrle's hat-trick ensured Germany of a 5-3 win over Sweden in their final FIFA 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.
Sweden's main changes were in their forward line, with Ola Toivonen and Hysen replacing Zlatan Ibrahimovich, 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 the 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 throughball, 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 from the break.
Sweden, though, doubled their lead through Kacaniklic when he converted from inside the area.
The Fulham striker timed his run well to stay onside and fire home past Neuer after 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 Germany 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'
|Vidal fears longer lay-off, targets return against Arsenal|
|Yaya Toure: Sterling should have dived!|
|Turan wants to see out Barcelona contract despite China talk|
|Impassioned Ibrahimovic attacks Rooney´s critics|
|´He has to lose weight´ – Mihajlovic angry after dropping Maxi Lopez|
|Lack of Liverpool signings frustrates Klopp|
|Suarez: Busquets difficult to replace for Barca|
|Depay impresses Lyon after debut|
|CSL? Rooney committed to United|
|Denis Suarez wants more goals after opening Barca account|
|Simeone bemoans inconsistency but says Atletico are improving|
|Mourinho won´t stand in the way of Rooney and CSL|
|Dzeko on target as Roma stay on Juve´s tail|
|Rakitic ready to cover for injured Busquets|
|Bale and Kane wish Mason well after serious injury|
|Busquets injury less severe than feared - Luis Enrique|
|Mason in stable condition after skull fracture|
|Senegal v Algeria: Misfiring favourites in last-chance saloon|
|PSV provide perfect finish for darts champ Van Gerwen|
|Broos predicts ´something great´ for Cameroon|
|Eibar 0 Barcelona 4: MSN see Barca to victory after Busquets blow|
|Busquets sustains ankle ligament damage in Eibar v Barcelona|
|Cameroon 0 Gabon 0: Aubameyang miss haunts hosts as AFCON campaign ends|
|Guinea-Bissau 0 Burkina Faso 2: Traore on target as Stallions advance|
|Busquets injury at Eibar compounds Barcelona midfield woes|
|Deulofeu lands in Italy ahead of AC Milan move|
|´I made the best decision´ - Conte basks in Costa recall|
|Wenger urges Xhaka not to ´punish´ Arsenal|
|Ex-Bastia man Palmieri questions Balotelli racial abuse claims|
|Costa reaction hailed by Cahill|
|Manchester City must be mentally strong, says embattled Bravo|
|Chelsea 2 Hull City 0: Costa back with a bang for Blues|
|Koke lauds Griezmann ´stroke of genius´ as Atletico snatch draw|
|Pioli questions Ansaldi dismissal|
|´I should have shut up and I apologise´ - Wenger sorry for ref rant|
|Arsenal can be proud of this red-card record|
|Mustafi: Arsenal never give up|
|Higuain: Lazio posed no threat to Juventus|
|Athletic Bilbao 2 Atletico Madrid 2: Griezmann magic rescues point|
|Puel unsure Van Dijk will be fit for Liverpool clash|
|Free-scoring Monaco return to Ligue 1 summit|
|Arsenal 2 Burnley 1: Sanchez snatches thrilling win for 10-man Gunners|
|Palermo 0 Inter 1: Joao Mario strike extends Inter streak|
|Arsenal fans give Alexis Sanchez paws for thought|
|Costa returns to Chelsea XI to face Hull City|
|Inter cannot delude fans about Messi - Ausilio|
|Allegri admits new Juventus formation was a ´mad idea´|
|Leicester boss Ranieri admits to tactical mistakes|
|Zimbabwe v Tunisia: Kasperczek demands ruthlessness with quarter-final spot on the line|
|Southampton 3 Leicester City 0: Saints end losing streak but suffer potential Van Dijk blow|
|Juventus 2 Lazio 0: Dybala and Higuain strikes see leaders return to form|
|Iborra makes a mark at both ends as Sevilla scrape past Osasuna|
|Pogba hails ´brother´ Griezmann as Manchester United speculation continues|
|Costa fight rumour ´not nice´, says Courtois|
|Henry makes emotional Ozil plea: Stay and become an Arsenal legend|
|Welbeck still has huge promise, says Wenger|
|A-League Review: Wanderers finally end home hoodoo|
|Tevez denies he´s highest-paid player after CSL move|
|Napoli capable of greatness - Sarri|
|Montella proud of Milan display against Napoli|
|Ramos tells Madrid fans: We need support|
|Conte: Costa committed to Chelsea|
|Callejon credits ´Maradona effect´ as Napoli down AC Milan|
|Uganda didn´t deserve to lose - Sredojevic|
|Lloris kept us in the game - Pochettino backs captain despite errors|
|Guardiola ´never going to give up´ on Premier League title|
|Chapecoense make emotional return to football|
|Allardyce: Players don´t want to join Palace relegation fight|
|Pulis backs Berahino to get back on track at Stoke|
|AC Milan 1 Napoli 2: Callejon settles San Siro thriller|
|Guinea-Bissau v Burkina Faso: Cande not thinking about going home|
|Egypt 1 Uganda 0: El Said to the rescue for Pharaohs|
|Gabriel Jesus delighted to make Premier League bow|
|England boss Southgate lauds record-breaker Rooney|
|Leipzig beat Frankfurt to cut Bayern´s lead|
|Guardiola blasts missed chances, not referee, after Spurs draw|
|Candid Pochettino says City were unlucky not to beat Spurs|
|AC Milan ´still negotiating´ over Deulofeu|
|Ben Arfa content with striker role at PSG|
|Walker admits to Sterling push in contentious City-Spurs draw|
|Emery hails PSG personality after tricky Nantes test|
|Manchester City 2 Tottenham 2: Controversial Son strike bails out Lloris|
|Record-breaking Rooney: Lineker, Shearer and wife Coleen lead Twitter tributes|
|Knee surgery to end Ogbonna season - Bilic|
|Karanka hits out at ´awful´ Riverside atmosphere|
|Zidane urges Madrid fans to stick with Ronaldo and Benzema|
|Palace players not to blame for last-gasp defeat, claims Allardyce|
|Zidane frustrated as Marcelo and Modric add to Madrid´s injury worries|
|Howe praises Bournemouth ´fighters´ after Watford draw|
|Poor goals a disease for Sunderland - Moyes|
|Charlton, Ferguson hail ´true great´ Rooney|
|Tuchel annoyed by ´sluggish´ Dortmund|
|Mourinho: Rooney now a Manchester United legend|
|Ghana 1 Mali 0: Gyan heads Black Stars into quarter-finals|
|Nantes 0 Paris Saint-Germain 2: Cavani at the double as champions close on Nice|
|Better at Old Trafford, prolific against Arsenal - Rooney´s record in Opta numbers|
|Rooney: Record means a hell of a lot but I´m still disappointed|
|Fener free-kick to derby delight - Rooney´s top 10 Manchester United goals|
|Rooney merits place in history, forget the present and future struggles|
|Crystal Palace 0 Everton 1: Coleman late-show extends Allardyce´s losing run|
|Real Madrid 2 Malaga 1: Ramos double gets leaders back on track|
|Stoke City 1 Manchester United 1: Record-breaking Rooney snatches draw|
|West Brom 2 Sunderland 0: Baggies inflict more misery on Moyes´ men|
|Bournemouth 2 Watford 2: Hosts come from behind twice|
|Middlesbrough 1 West Ham 3: Rejuvenated Carroll makes the difference|
|Rooney becomes Manchester United´s all-time top goalscorer|
|Werder Bremen 1 Borussia Dortmund 2: Piszczek winner denies fightback|
|Cameroon v Gabon: Hosts look to avoid early exit|
|Swansea worthy winners at Anfield - Clement|
|Rummenigge defends Guardiola: Manchester City simply not as good as Bayern|
|Swansea had perfect gameplan, says match-winner Sigurdsson|
|Klopp baffled by sloppy Liverpool|
|Henry: Arsenal don´t need Payet – they have Iwobi|
|Allegri: Juventus have not lost their quality all of a sudden|
|Liverpool 2 Swansea City 3: Llorente and Sigurdsson stun Anfield|
|Nainggolan as valuable as Pogba - Spalletti|
|Atletico criticism excites Simeone|
|Luis Enrique worried about Eibar´s pitch|
|Januzaj: Pogba wants me back at Manchester United|
|There is nobody like him – Luis Enrique rues Iniesta absence|
|Mourinho: United need De Gea and Romero to stay|
|Chiellini: Sixth successive title would make Juventus players legends|
|A-League Review: Taggart fires Perth to glory|
|Balotelli furious after alleged racial abuse at Bastia|
|Tottenham stronger than previous seasons - Eriksen|
|Wenger prepared for 17 cup finals to overhaul Chelsea|
|Maldini: Donnarumma can emulate my Milan success|
|Klopp urges Liverpool to enjoy title race|
|Shaw going through ´difficult period´ - Mourinho|
|Klopp not worried by Sturridge, Origi form|
|De Gea backs ´amazing´ Pogba|
|Pochettino: Tottenham bigger than City|
|Conte: I trust Diego Costa 100 per cent|
|Lewandowski admits he was lucky for Bayern winner|
|City as sharp as Barca and Bayern but lacking consistency, says Guardiola|