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'
|FIFA sanctions Yemen for fielding ineligible player|
|Toulouse rubbish Ben Yedder exit reports|
|Mourinho ´knows what he´s doing´ with Falcao signing|
|Watford shell out club-record fee for Capoue|
|Braafheid signs Lazio extension|
|Nani finalises Fenerbahce move|
|Liverpool confirm O´Driscoll appointment|
|Liverpool have to start better - Lucas|
|USA simply too good - Sasaki|
|Portland Timbers 1 San Jose Earthquakes 0: Jewsbury wins it in stoppage time|
|No move yet for Van Persie|
|Lloyd wins Golden Ball, Silver Boot awards|
|Mascherano: I never grabbed Banega|
|Dunga requested Brazil not appeal Neymar´s suspension|
|United States 5 Japan 2: Lloyd stars with hat-trick|
|Fiorentina deny Inter criticism|
|Nani relishing Fenerbahce opportunity|
|Newcastle hold talks over Northampton youngster|
|Cuadrado´s agent plays down Chelsea exit rumours|
|Liverpool´s Alberto set for Deportivo loan|
|Leverkusen suffer surprise defeat, Stuttgart hit six|
|Inter ´dismayed´ at Fiorentina vice-president´s Salah Twitter outburst|
|Blaszczykowski ruled out of Dortmund´s Asia tour|
|Gerrard gets the beers in for LA Galaxy fans|
|De Gea coy over Real links|
|Former Brazil star Carlos handed Delhi reins|
|Ciftci will not push through Celtic switch – agent|
|In-demand Mitrovic considering Roma offer|
|Lehmann calls on Cech to ´get over´ Chelsea|
|Marlos double sinks Monaco|
|Mauritius 0 South Africa 2 (agg 0-5): Bafana set up Angola qualifier|
|Keane relishing Gerrard arrival|
|Palace confirm Cabaye interest|
|Hamburg bring in Spahic after head-butt ban|
|Blatter hits out at France and Germany over World Cup votes|
|Sanchez: World Cup exit spurred Chile to Copa glory|
|Jojic makes Cologne switch, Santana move falls through|
|Carrillo keen to get going at Monaco|
|Micronesia thrashed 38-0 as Fiji triumph in Olympic qualifier|
|Schalke stunned by ´machine´ Caicara|
|MLS Review: Keane shines at Gerrard´s Galaxy unveiling|
|Counter-attacking the key for Japan|
|Jimenez happy at Atletico|
|Gerrard predicts ´successful future´ with Galaxy|
|Iniesta can´t see Real selling Ramos|
|Keshi sacked as Nigeria coach|
|Three finals, three defeats for Messi, Mascherano|
|Nani close to Fenerbahce move|
|Sampaoli revels in ´unbelievable joy´|
|Bravo: Copa victory a dream|
|Martino: Argentina should have won|
|Chile 0 Argentina 0 (4-1 on penalties): Hosts end trophy drought|
|Germany 0 England 1 (after extra time): England make World Cup history|
|Kenya 0 Ethiopia 0 (agg 0-2): Hosts sent out of CHAN qualifiers after second penalty miss|
|Dortmund put 17 past Olympians, Bremen hand out thrashing|
|Dinamo Zagreb confirm arrests of coach and club president|
|I didn´t know who Wimbledon guest Klopp was - Brown|
|LeBron James backs Liverpool captain Henderson for FIFA 16 cover.|
|Ramos: I am not negotiating with anyone|
|Valencia complete Mina swoop|
|United States v Japan: US seek final redemption|
|Hanousek consigns Celtic to defeat|
|Roma confirm Dzeko interest|
|Arsenal forward Podolski completes Galatasaray switch|
|Warm Dortmund welcome delights Tuchel|
|Silva vows to fight for Madrid place|
|Mancini hints at Shaqiri and Santon departures|
|Bojan raring to go after return from injury|
|Babel backs Firmino to shine at Liverpool|
|Falcao must wait to impress, warns Chelsea favourite|
|Bartomeu: Deal in place for Turan|
|Parejo re-signs with Valencia|
|MLS Review: Sounders return to winning ways|
|Klinsmann unhappy with USA performance|
|High hopes for Paraguay - Diaz|
|Gareca: More to come from Peru|
|Gerrard had European offers|
|Argentina out to spoil Chile´s party - Martino|
|Sampaoli: Chile won´t change style|
|Di Maria will come good at United - Rojo|
|Peru 2 Paraguay 0: Gareca´s men finish third at Copa|
|United States 4 Guatemala 0: Klinsmann´s men win comfortably|
|´I’d prefer no-one to know my name´ - Bassett|