Bayer Leverkusen secured a top-four Bundesliga finish and UEFA Champions League football with a 2-1 win over Werder Bremen on Saturday.
Sascha Lewandowski's men knew defeat could open the door for either Wolfsburg or Borussia Monchengladbach to pip them to fourth spot, and their fans will have been fearing the worst when they fell behind to Theodor Gebre Selassie's 21st-minute opener.
They were level by half-time, though, Omer Toprak equalising 12 minutes before the break, with Son Heung-Min netting the winner in the 53rd minute.
The South Korean nodded in the rebound after Eren Derdiyok had headed against the bar to leave the result between Wolfsburg and Gladbach irrelevant.
As it happened, Wolfsburg won 3-1 thanks to goals from Kevin De Bruyne, Ivan Perisic and Robin Knoche.
At the wrong end of the table, both Nuremburg and Eintracht Braunschweig were consigned to automatic relegation following respective away defeats.
Both sides went into their games with a chance of overhauling Hamburg and earning a relegation play-off with the third-placed team in 2.Bundesliga, but neither outfit was able to find the result to extend their season.
Nuremburg were thrashed 4-1 at Schalke to fall to their seventh consecutive defeat, and they have now been relegated from the top flight eight times, more than any other club.
Braunschweig, meanwhile, went down to their fifth successive reverse, 3-1 at Hoffenheim, with those results coming as a relief for Hamburg, who fell to a 3-2 loss at Mainz.
Elkin Soto put the home side in front after seven minutes, only for Pierre-Michel Lasogga to level matters five minutes later.
Second-half strikes from Yunus Malli and Shinji Okazaki put the game beyond Hamburg, who did pull one back through Ivo Ilicevic, but Mirko Slomka's men will now go into a play-off to preserve their ever-present status in the top flight.
Bayern Munich ended their title-winning season with yet another victory, Claudio Pizarro striking an injury time winner in a 1-0 success over Stuttgart, who confirmed Huub Stevens would step down as coach.
Robert Lewandowski signed off on his Borussia Dortmund career by scoring twice in a 4-0 win at Hertha Berlin, his final tally of 20 goals leaving him as the league's top scorer.
Elsewhere, Hannover beat Freibrug 3-2 and Augsburg enjoyed a 2-1 success at home to Eintracht Frankfurt.
|Coach: S. Lewandowski|
for L. Bender 45'
for J. Brandt 67'
for E. Derdiyok 90+2'
|Del Bosque unmoved by calls for two strikers|
|Deschamps praise for beautiful France|
|Fekir ruptures knee ligaments|
|Italy v Bulgaria: Conte warns against complacency|
|Euro 2016 Qualifiers Review: Germany top Group D, Northern Ireland edge closer|
|Low: Three points most important|
|Northern Ireland on the verge of a ´magnificent achievement´ - O´Neill|
|Scotland need something against Germany - Strachan|
|Portugal 0 France 1: Late Valbuena set-piece clinches deserved win|
|Faroe Islands 1 Northern Ireland 3: O´Neill´s men edge closer|
|Germany 3 Poland 1: Gotze sends world champions top|
|Gibraltar 0 Republic of Ireland 4: Irish hopes reignited|
|Djibouti 0 Togo 2: Saintfiet´s side make it two wins from two|
|Cyprus v Belgium: Benteke boost for Wilmots´ men|
|Roma youngster faces lengthy lay-off|
|United hit back at Perez barb over De Gea saga|
|Georgia 1 Scotland 0: Strachan´s men succumb to Tbilisi hoodoo|
|Hodgson prepared to blood new players|
|Porto invite Euro elite to help raise millions for migrants|
|Dortmund legend Dede backs Tuchel to succeed|
|Robben out for four weeks|
|Turkey v Netherlands: Terim expecting hostile atmosphere for crunch clash|
|Portugal 0-1 France: Valbuena strikes late to sink Ronaldo & Co|
|Wales v Israel: Euro 2016 beckons for Coleman´s history boys|
|Gala: No extra payment for Grosskreutz|
|Increase Bundesliga´s TV rights or be left behind - Rummenigge|
|Kane: I´m no flash in the pan|
|Perez: United showed inexperience in De Gea saga|
|Milligan: Socceroos wary of Tajikistan|
|Conte wants more players like Pelle|
|OFC World Cup Qualifying Review: Samoa to meet Tahiti in next round|
|Krychowiak stayed at Sevilla because of Emery|
|I never considered Bayern exit - Gotze|
|Balotelli ´not in good condition´, Milan must improve - Mihajlovic|
|Robben slams ´stupid´ Martins Indi|
|Robben laments injury blow|
|Euro 2016 Qualifiers Review: Bale edges Wales closer, Iceland dent Netherlands´ qualification hopes|
|De Bruyne relieved to ´boss´ Bosnia-Herzegovina|
|Blind furious after nightmare debut|
|Coleman sees shades of Charles in Bale winner|
|Conte only concerned about Italy winning|
|Mauritania v South Africa: SAFA to investigate Masilela no-show|
|AFC World Cup Qualifying Review: Qatar hit 15 in Bhutan rout|
|Belgium 3 Bosnia-Herzegovina 1: De Bruyne shines in straightforward victory|
|Cyprus 0 Wales 1: Bale winner takes Wales one step closer|
|Netherlands 0 Iceland 1: Sigurdsson winner caps difficult first game for Blind|
|Italy 1 Malta 0: Pelle spares wasteful Azzurri|
|Balotelli stars in Milan friendly win|
|Bhutan thrashed 15-0 by Qatar in qualifier|
|Rwanda v Ghana: Gyan doubt gives hosts hope|
|Tanzania v Nigeria: Enyeama out of AFCON qualifier|
|Valdes and Berahino included in Premier League squads|
|Costa Rica v Brazil: Dunga´s men return after Copa disappointment|
|Spain v Slovakia: Azpilicueta eyeing important revenge|
|Adebayor left out of Tottenham squad list for league and Europe|
|San Marino v England: Place in history books beckons for Rooney|
|Germany can cope with Reus absence - Low|
|Bayern offer aid to refugees in ´training camp´|
|BREAKING NEWS: Welbeck ruled out for months after knee surgery|
|South Korea 8 Laos 0: Son leads the way in rout|
|Australia 5 Bangladesh 0: Socceroos surge to emphatic win|
|Japan 3 Cambodia 0: Hosts pick up first qualifying win|
|Rudiger aiming to nail down Euros spot after Roma move|
|Melo happy to join Inter at last|
|Hernandez thanks Ferguson after United departure|
|Chung: AFC has compromised FIFA election|
|Wales the new best of British|
|Reus out of Germany qualifiers|
|Chile v Paraguay: Vidal missing for Copa champions|
|Ghedin: Anything is possible for Malta|
|Pogba will be worth €100m - Marotta|
|England can win Euro 2016 - Hodgson tells players|
|Conte unsure over Balotelli future|
|Argentina - Bolivia Preview: Mascherano backs 'very special' Messi|
|Portugal - France Preview: Deschamps aiming to correct mistakes|