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'
|Southampton need three January signings, says Watson|
|Liverpool can make Champions League, says fanzine editor|
|Walsh: Hull clash crucial for Leicester|
|Toure, Aubameyang and Enyeama make shortlist for African gong|
|Docherty backs Chelsea to win two-horse race|
|Liverpool could benefit from Hyypia influence - Scales|
|Saudi Arabia name Asian Cup squad|
|Forty-year-old Cahill no problem for Postecoglou|
|Wenger criticism baffles Redknapp|
|Leicester must strengthen in window - Walsh|
|United not title contenders - Docherty|
|Koeman: Southampton youngsters will get a chance|
|Dyche empathises with Liverpool striker crisis|
|Cagliari turn to Zola|
|Rooney thanks Van Gaal for Christmas break|
|Cruzeiro offer Paulinho Tottenham exit chance|
|Carlisle´s wife grateful to Burnley|
|Katebe called up to Zambia AFCON squad|
|Cape Verde name AFCON squad|
|Finke names much-changed Cameroon squad|
|Grant omits World Cup troublemakers for AFCON|
|Blackpool striker Ranger goes AWOL|
|Allardyce relishing Mourinho meeting|
|Ashley fails to increase Rangers stake|
|Crystal Palace v Southampton: Koeman calls for focus|
|Warnock targeting striker in January|
|Chelsea v West Ham: Adrian vows visitors will attack|
|Heskey signs short-term deal at Bolton|
|Everton v Stoke City: Martinez eyes strong form|
|Juninho defends David Luiz|
|Burnley v Liverpool: Dyche defends Rodgers ahead of Turf Moor test|
|Arsenal v QPR: Wenger eyes festive momentum|
|Liverpool are growing in confidence, says Rodgers|
|Redknapp: Austin future could depend on survival|
|Martinez wants Everton consistency|
|Barca want Neymar until 2020, says agent|
|Jones undeterred by pressure of Liverpool starting role|
|Allardyce ´knows how to beat managers´ - Carroll|
|Jones playing for a new contract|
|China select Evergrande spine for Asian Cup|
|A-League Preview: Koren tips City to build|
|Khedira keen to fight for Real spot|