Jurgen Klopp bade an emotional but successful farewell to the Borussia Dortmund fans in his last Bundesliga match in charge of the club with a 3-2 win over Werder Bremen earning them a place in the Europa League next season.
Shinji Kagawa and Pierre-Emerick Aubameyang struck in quick succession inside the opening 17 minutes to put Dortmund on their way to victory.
Levin Oztunali pulled a goal back for Bremen, but Henrikh Mkhitaryan restored the hosts' two-goal advantage before the interval.
Borussia Monchengladbach sealed their place in the Champions League group stage next season thanks to a 2-0 win at Werder Bremen.
Raffael scored both the goals for the Foals as they maintained their five-point advantage over fourth-placed Bayer Leverkusen with just one game of the season remaining.
Bremen can still join them in Europe next season, but to do that they must win at Borussia Dortmund next weekend and hope that both Augsburg lose and that Dortmund do not then lift the DFB-Pokal.