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'
|Hero Bacca grateful for Europa League triumph|
|Markevych rues defensive errors in Dnipro defeat|
|AFC Champions League Review: Naft Tehran fairytale continues|
|Emery: We deserved Europa League success|
|Dnipro 2 Sevilla 3: Bacca brace sees holders make history|
|South Africa 0 Malawi 0 (4-5 on penalties): Harawa heroics send Bafana Bafana out|
|CONCACAF and CONMEBOL respond to arrests in FIFA scandal|
|FIFA president Blatter welcomes investigations as corruption probe rocks world football|
|UEFA calls for FIFA elections to be postponed|
|BREAKING NEWS: Advocaat exits Sunderland and retires from club management|
|La Liga: Real Madrid season review - Ancelotti pays the price for disappointing season|
|Zambia 3 Ghana 0: First-half spree does the damage|
|Barnes suffers double knee ligament injury|
|Balotelli to stay at Liverpool - agent|
|Kane at the double in friendly win|
|Norwich make Dorrans switch permanent|
|Ings unsure of next move|
|Bournemouth snap up Federici|
|FIFA ´crisis´ cannot continue - Prince Ali|
|Barton headlines QPR exits|
|Juan demands more from Inter|
|Stoke snap up Haugaard|
|Subotic commits to Dortmund|
|Warner pleads innocence after US indictment|
|Napoli to refuse questions on Benitez´s future|
|USDoJ names indicted FIFA officials|
|Wenger coy over Vidal and Benzema moves|
|Suarez back in training ahead of Copa final|
|Pique: I´ll retire at Barca|
|Gerrard ´blown away´ by Liverpool send-off|
|FIFA ´very happy´ with Zurich arrests|
|Liverpool defender Toure targeting trophies|
|Ramsey eyeing title assault|
|Welbeck out of FA Cup final and England matches|
|FIFA the ´injured party´ as Swiss prosecutors open criminal proceedings|
|Prince Ali saddened by FIFA arrests|
|Pellegrini to make City defence a priority|
|Labbadia giving Lasogga, Olic, Jiracek time|
|Ramsey confident on Wembley chances|
|Swiss authorities confirm FIFA arrests|
|El Shaarawy open to Premier League move - agent|
|Reports: FIFA officials set to be arrested|
|Tigres UANL 2 Emelec 0 (2-1 agg): Mexicans through to Libertadores semis|
|Valencia ruled out of Copa America|
|Coleman: Bale being ignored by Real team-mates|
|Ruddy eyes England recall|
|Benteke will strike fear into Arsenal - Westwood|
|Howe named LMA Manager of the Year|
|Casillas reiterates desire to stay in Madrid|
|Dnipro players pay for fans´ tickets, transport|
|Galliani: I want Ancelotti back at Milan|
|Premier League: Manchester City season review - Frustrations as latest title defence falters|
|Injured Benfica star Salvio not for sale|
|AFC Champions League Review: Al Sadd suffer last-16 exit|
|Emery targeting historic victory|
|Toure and Wisdom pen new Liverpool deals|
|Stadium facilities drive Van Gaal potty|
|Blatter brushes off Figo´s ´dictatorship´ claims|
|Mavuba to end career at Lille after extending contract|
|Ipswich´s Bishop charged over betting breaches|
|Markevych admits to Dnipro nerves|
|Relegated Almeria to be deducted three points|
|Reims retain Guegan on one-year deal|
|Di Matteo departure could hinder Schalke swoop for Khedira|
|Bale planning Real Madrid stay|
|Del Bosque not prepared to risk Costa|
|West Ham earn Europa League berth|
|Pellegrini sure City will win title back|
|Low calls Herrmann into Germany squad|
|Gerrard will win trophies with Galaxy - Carragher|
|Frankfurt agree to let Schaaf leave|
|Hernandez hit with violent conduct charge|
|Bale set for 50th Wales cap against Belgium|
|Baines hoping for pre-season return|
|Bournemouth sign Boruc|
|Sevilla duo Rico and Vidal handed Spain calls|
|Premier League: Chelsea season review - Mourinho´s men canter to title|
|Speroni hints at possible Palace exit|
|Kane states Tottenham commitment|
|Boruc, Hooiveld leave Southampton|
|Oxlade-Chamberlain desperate to make FA Cup final|
|Roar turn to Aloisi|
|Di Matteo resigns as Schalke coach|
|Hughes hints at Moses return|
|Wenger hits out at scheduling|
|Terry backs Chelsea to dominate|
|Jets part ways with coach Stubbins|
|Kewell would love to manage Liverpool|
|Janmaat: Newcastle players failed Carver|
|Adelaide step up interest in Toni|
|Chelsea´s Drogba interested in MLS move|
|Otamendi wants to leave Valencia - agent|
|Benitez almost certain for Real job|
|Schneiderlin will leave for Champions League club|
|Kane planning to come back bigger and better|
|Moyes staying at Sociedad|
|Neil revels in Norwich promotion|
|Drogba interested in MLS move|