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'
|Robben speaks out on injury fears|
|Fiorentina 0 AC Milan 0: Ilicic misses penalty on Montella´s return|
|Gisdol replaces Labbadia at Hamburg|
|Ibrahimovic threatened me over Pogba deal - Raiola|
|Balotelli could make Nice return against Krasnodar|
|Southampton deserved to win – Bilic|
|Podolski takes aim at Mourinho over Schweinsteiger treatment|
|Atletico midfielder Augusto suffers ACL injury|
|Sagna: More to Aguero than goals|
|Errors are urgent matter for Schalke - Weinzierl|
|Puel delighted with sublime Southampton second half|
|Simeone praises ´decisive´ Gameiro|
|Noble: West Ham can´t get any worse|
|Pjanic: I will play wherever Allegri needs me|
|West Ham 0 Southampton 3: Defensive woes pile pressure on Bilic|
|Kondogbia makes the same mistakes often – De Boer|
|Gray backed by Dyche after ban for abusive social media posts|
|Gabriel needs time to get used to Serie A - Ausilio|
|Atletico Madrid´s Gimenez and Augusto doubts for Bayern Munich clash|
|Atletico Madrid 1 Deportivo La Coruna 0: Griezmann downs 10-man Depor|
|Angry Spalletti slams Roma players´ attitude|
|Liverpool have unbelievable quality - Milner|
|Simeone´s son Giovanni scores first Serie A goal|
|Ivanovic: Chelsea let Conte down|
|Inter 1 Bologna 1: Battling Bologna end Inter streak|
|Guardiola: Top-four finish very tough for Man City|
|Rodgers expecting tough test against City and Aguero|
|Zamparini admits Balotelli interested Palermo|
|Former Swansea, Arsenal great Mel Charles dies|
|Asamoah, Rugani ruled out for up to seven weeks|
|Totti reaches 250 Serie A goals in Roma defeat|
|Alves makes LaLiga history as Valencia see off Leganes|
|Guardiola rues De Bruyne injury as Man City await scan|
|Las Palmas draw could prove costly, admits Morata|
|Gabriel explains choosing Inter over Juventus|
|Hamburg dismiss Labbadia|
|West Ham players expect Payet´s free-kick magic - Antonio|
|Man City must tell Guardiola to stop, says Toure´s agent|
|Hamsik thrilled to reach 100 Napoli goals|
|Zabaleta warns Man City over Celtic backlash|
|MLS Review: Red Bulls, Toronto into play-offs|
|´We were unlucky´ - Bale|
|Guardiola keen for Spurs test|
|Rodgers: I never fell out with Sterling|
|Wenger hails ´different´ Walcott|
|Mazzarri backs Deeney for England call-up|
|Mamelodi Sundowns and Zamalek reach CAF Champions League final|
|Benzema and Morata can play together - Zidane|
|Hummels plays down injury fears|
|Las Palmas 2 Real Madrid 2: Zidane´s men held again|
|Stones benefited from Moyes´ Everton exit, says Duffy|
|Allegri unconcerned by scrappy win|
|Montella demands Milan improvement|
|Ancelotti praises Thiago after Hamburg victory|
|Conte demands better attitude from Chelsea|
|Wenger hails stylish Arsenal display|
|Moreno the unlikely subject of Klopp´s praise|
|Walcott: We wanted it more than Chelsea|
|Phelan has ´no qualms´ over another handball red card|
|Arsenal 3 Chelsea 0: Sanchez, Walcott and Ozil pile on misery for Conte|
|That was how football should be - Klopp on Hull thrashing|
|Luis Enrique plans to keep Sergi Roberto on his toes|
|Karanka draws hope from Middlesbrough´s second half|
|Stoke is stitched into my body – Pulis|
|Palermo 0 Juventus 1: Own goal helps champions stay top|
|Hughes laments two ´stolen´ points|
|Wilshere can be a brilliant player for Bournemouth, says Howe|
|Defoe rues Sunderland collapse against Palace|
|Tottenham must be more clinical - Pochettino|
|Everton were second best, says Koeman|
|Benteke: I knew a chance was coming|
|Ranieri wants answers from Leicester players after Old Trafford thrashing|
|Board can call me if they want to talk - Guidolin|
|Sterling hails Guardiola´s impact|
|Sergi Roberto revelling in new role|
|Guardiola wants Aguero improvement despite scoring streak|
|Mourinho demands more from star man Pogba|
|Sporting Gijon 0 Barcelona 5: No Messi, no problem for ruthless champions|
|Stoke City 1 West Brom 1: Rondon snatches point as Pulis reaches 1000 games|
|Sunderland 2 Crystal Palace 3: Benteke´s late header stuns Black Cats|
|Swansea City 1 Manchester City 3: Aguero at the double for Guardiola´s perfect 10|
|Bournemouth 1 Everton 0: Stanislas wonder strike ends Koeman´s unbeaten start|
|Liverpool 5 Hull City 1: Coutinho stunner caps easy win|
|Middlesbrough 1 Tottenham 2: Son shines for Spurs|
|Hamburg 0 Bayern Munich 1: Late Kimmich goal maintains Bayern´s perfect start|
|Bayern facing defensive headache after Hummels limps off at Hamburg|
|Pogba and Mata delighted by United response|
|Vardy and Mahrez were rested for Porto, Ranieri admits|
|Mourinho completely trusts dropped Rooney|
|I beat Usain Bolt in a race - Bolasie|
|Juventus still Scudetto favourites - De Boer|
|Manchester United 4 Leicester City 1: Rooney watches on as Pogba inspires Red Devils demolition|
|Robben and Ribery are like Messi, claims Helmer|
|Pochettino hints at Vertonghen renewal|
|Robben´s style makes him an injury risk - Bayern fitness coach|
|Liverpool refuse to comment on Sakho´s social media outburst|
|Rooney dropped for Leicester City clash|
|Messi injury doesn´t matter to Barcelona - Abelardo|
|Thiago Silva worried by PSG form|
|Mourinho describes Wenger relationship as ´civilised´|
|Milito: Inter are no one-man team|
|Bilic delays naming daughter due to West Ham worries|
|Fernandinho hails ´intelligent´ De Bruyne|
|Matuidi: This season toughest for PSG|
|New York City 4 Chicago Fire 1: Villa nets twice in win|
|Pjaca not Morata - Allegri|
|Guardiola keen for Kolarov extension|
|England criticism changed Rooney - Mourinho|
|Gotze detractors don´t surprise Tuchel|
|Wenger laments missing out on Costa|
|Emery deflects blame from PSG players after Toulouse defeat|
|Guidolin: It´s not possible to beat Manchester City if you don´t play well|
|Mourinho prepared to bench Rooney|
|Fitness fears over Aubameyang with Real Madrid looming|