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'
|Aguero: Messi not the only player considering retirement|
|I think Messi is just upset, Romero says after captain announces retirement|
|Aguero: This is the worst I have seen Messi|
|Messi set to retire from international football|
|Sanchez: This is the best thing to happen to me|
|Martino: Argentina deserved to beat Chile in final|
|Vidal: This Chile generation is to stand|
|Sanchez crowned Copa´s best as champions Chile sweep awards|
|Argentina 0 Chile 0 (aet, 2-4 on penalties): Defending champs sink Messi and Co. again|
|Taylor ready for Belgium test|
|Portland Timbers 3 Houston Dynamo 2: Valeri late show seals win|
|Euro 2016 Diary: Love blossoms in Paris and last orders for Ireland as Hallgrimsson baits England|
|De Bruyne, Belgium target Euro 2016 final|
|Wilmots: Hazard does his talking with his feet|
|Storck enthusiastic about Hungary future|
|My best Belgium performance - Hazard|
|´It took him long enough!´ - Schweinsteiger hails Boateng´s first Germany goal|
|Courtois: Hungary made an error by coming to play|
|No back-three fears for Spain boss Del Bosque|
|Grigg fired by Euro bench duty|
|Davis: Stranger things have happened than O´Neill to Southampton|
|Gunnarsson insists Iceland do not fear England|
|Brilliant Hazard inspires Belgium´s golden boys|
|Student Morata wants to bring down Juventus masters with Spain|
|Hungary 0 Belgium 4: Hazard inspires Wilmots´ men into quarter-finals|
|Conte demands extraordinary Italy to topple Spain|
|Nolito: No contact with Barca or Man City|
|Alves jets into Turin for Juve medical|
|Low: No sleepless nights over Italy or Spain|
|Kozak: Germany had too much quality|
|Fury gets in the spirit with England fans in Nice|
|Draxler shares the plaudits as Germany move through|
|O´Shea not drawn on Ireland future|
|Rami: France were scared of going out|
|Germany 3 Slovakia 0: Spain or Italy await for world champions after comprehensive win|
|Brilliant Boateng gets Germany juggernaut motoring|
|Lagerback hopes England´s attacking struggles will continue|
|Juventus, Napoli and Roma ´all interested in De Sciglio´|
|O´Neill hails coming of age for Ireland´s youngsters|
|England will not disrespect Iceland, says Rooney|
|Deschamps stands firm on team changes|
|Hodgson adamant he is happy with England strikers|
|Evra: We knew it would be difficult|
|Deschamps: We had to dig deep|
|Rooney: Do not question Sterling´s attitude|
|O´Neill: France´s extra rest took its toll|
|France star Payet: It is difficult to stop us|
|Griezmann: Stern words led to second-half fightback|
|Coleman: We felt it was there for us|
|Deschamps defies doubters as France heed call to arms|
|Konko ´in talks´ to join AC Milan|
|Sigurdsson looking forward to dream England clash|
|Cacic: Croatia´s time will come|
|Italy v Spain will be different to Euro 2012 final - Camoranesi|
|France 2 Republic of Ireland 1: Griezmann double rescues hosts|
|Capello: Spain are pure magic|
|Wolfsburg complete Bruma signing|
|Koke: Spain need to bring back ´The Red Fury´|
|Pizzi: Chile can beat Messi and Argentina|
|Schalke swoop for Swiss star Embolo|
|Subotic signals intention to leave Dortmund|
|Howedes eager for France showdown|
|Russia confirm Slutsky resignation|
|Pirlo: Italy out for Spain revenge|
|Vokes consoles McAuley after Wales march on|
|Italy-Spain a battle of world´s best - Llorente|
|Messi one win away from becoming the greatest|
|Play-offs the goal as Baptista settles into life in Orlando|
|Colombia closer to winning titles - Pekerman|
|MLS Review: Kaka scores 100th-minute penalty in thriller, Lampard inspires NYC|
|Portugal ´don´t have a clue how they scored´ – Rakitic|
|Klinsmann: USA should be proud of Copa America display|
|United States 0 Colombia 1: Bacca secures third place at Copa America|
|Corluka: Portugal among worst teams at Euro 2016|
|Sanches happy to be involved as Portugal reach quarters|
|Euro 2016 Diary: Shaqiri rivals Pique for Shakira´s affection, Bale reveals secret weapon|
|Morata: I have nothing to prove to Zidane|
|Di Maria fit for Copa final|
|´You do not always win by playing prettily´ - Santos unconcerned by dour Portugal|
|The best team lost, says disconsolate Cacic|
|Fabianski: Poland must create more for Lewandowski|
|McAuley pride after crushing Wales loss|
|Ronaldo takes one for the team as Portugal emerge from drudgery in Lens|
|Croatia 0 Portugal 1 (aet): Quaresma earns quarter-final berth|
|Hodgson will not beg for FA approval after Euro 2016|
|Emotional Bale glad to share Paris joy with family|
|O´Neill left frustrated by officials following Euro 2016 exit|
|Coleman hails Bale brilliance in Wales win|
|Low relying on Kroos to lead Germany the way|
|Italy v Spain: Thiago denies shirt jinx ahead of Azzurri clash|
|O´Neill: McAuley has been magnificent|
|Szczesny thanks Swiss fans for drink|
|Hector: Slovakia have plenty of quality in attack|
|Morata: Italy defenders have told me to wear a helmet|
|Coleman content with scrappy Wales progression|
|Wales remain and Northern Ireland leave after Paris battle|
|We are free of pressure - Gera|
|´Do I look like I have doubts?´ - Defiant Nawalka defends Lewandowski|
|Wales 1 Northern Ireland 0: McAuley´s woe is Welsh joy|
|No chance Barcelona star Neymar will join Madrid, says his father|
|Witsel happier to face Hungary than Spain|
|Wilmots accepts pressure ahead of Hungary test|
|Slovakia can upset Germany again - Pekarik|
|Shaqiri unhappy with Poland celebrations after Euro 2016 exit|
|Grosicki struggled to watch Poland shootout win|
|Poland need Lewandowski to rediscover ruthless streak|
|Switzerland 1 Poland 1 (aet, 4-5 pens): Xhaka shocker costs Swiss after Shaqiri magic|
|Payet can handle hero status - Deschamps|
|Redmond joins Southampton on five-year deal|
|Sturridge: Sterling unfairly targeted over England performances|
|Wilmots: I want more from smiling De Bruyne|
|Croatia star Perisic unveils latest wacky hairstyle|
|Brazil´s Lucas Lima wants European move|
|Lloris tempers talk of Ireland revenge mission|
|Deschamps refuses to make France ´98 comparisons|
|O´Neill confident Ireland can shock France|
|Chiellini will give Morata a few kicks - Barzagli|
|England v Iceland: Rooney targets early goal|
|Italy´s Candreva ruled out of Spain match|
|Butland ready for pre-season after scan gives goalkeeper all-clear|
|Origi not underestimating Hungary|
|Plans drafted for Old Firm games to be played abroad|
|Boost for Germany as Boateng trains ahead of last 16|
|I never saw Ronaldo look in the mirror! - Ancelotti|
|Fabregas fears Brexit will damage Premier League|
|Roy not keen on Ireland allocation|
|Dyke backs Hodgson for new contract|
|Spain not as aggressive as 2012, claims Ancelotti|
|Ronaldo and Messi need each other – Ancelotti|
|Juve on the same level as Madrid and Barcelona - Dybala|
|Fabregas: Conte´s Italy will be tough|
|Argentina v Chile: New year, same Copa finalists|
|Ronaldo ´cannot be the whole of Portugal´ - Shilton|
|Messi: Neymar is an amazing person|
|Pekerman keen to finish Copa on high note|
|Rakitic: Ronaldo won´t sleep easily|
|Messi: Now is not a time to give nothing|
|Courtois expects to leave Chelsea in future|
|Less rest no problem for Portugal - Joao Mario|
|Euro 2016 Diary: Benteke rap and Nelly the elephant|