Hoffenheim were the big winners on the Bundesliga's final day, beating Borussia Dortmund 3-1 to secure UEFA Champions League football and third place - a highest ever top-flight finish. - © © gettyimages
Hoffenheim were the big winners on the Bundesliga's final day, beating Borussia Dortmund 3-1 to secure UEFA Champions League football and third place - a highest ever top-flight finish. - © © gettyimages
Bundesliga

Bundesliga 2017/18: Who's in the Champions League? Who's in the Europa League? Who was relegated?

Although Bayern Munich had long since wrapped up the title - and Schalke second spot for that matter - there were all manner of possible final-day permutations involving Borussia Dortmund, Hoffenheim, Bayer Leverkusen and RB Leipzig in the race for the European places. At the other end of the table Freiburg, Wolfsburg and Hamburg were battling to stay in the top flight.

1)Bayern Munich

The title had long since been sealed, but the champions were beaten 4-1 by Stuttgart at the Allianz Arena on the final day, a result that had ramifications further down the standings. Not that it stopped the Bavarians partying in style, though.

Watch: Check out Bayern's title celebrations under the Munich sunshine!

2)Schalke

The Royal Blues had also wrapped up second place - and a return to the UEFA Champions League for the first time since 2015 - prior to the final day, but a 1-0 final-day win at home against Eintracht Frankfurt damaged the Eagles' European hopes.

3)Hoffenheim

So here's where it started to get a little bit complicated. Hoffenheim knew the equation going into the final day: beat Borussia Dortmund by two goals to finish third. Julian Nagelsmann's side duly did so, running out 3-1 winners, and secured a spot in the UEFA Champions League group stages for the first time ever.

- © imago

5)Bayer Leverkusen

Leverkusen needed to better Hoffenheim's result against BVB to finish fourth. Since Nagelsmann's side won 3-1, Bayer required victory by five goals to overturn Hoffenheim's superior goal difference and secure a top-four berth, but only won 3-2 against Hannover. Despite ending level on points with Hoffenheim and Dortmund, Leverkusen finish the season in fifth - and in the UEFA Europa League - due to a worse goal difference (+14).

7)Stuttgart

Stuttgart were the big winners on the final day: Tayfun Korkut's side sensationally emerged 4-1 victors at Bayern. That, combined with Eintracht Frankfurt's and Borussia Mönchengladbach's defeats, meant the Swabians jumped into seventh. VfB will now be praying for Bayern to beat Eintracht in the DFB Cup final: if they do that, Stuttgart enter the Europa League at the second qualifying round stage, and Leipzig go into the group stages. If Frankfurt win, there will be no European football at the Mercedes-Benz Arena next season.

- © imago / Uwe Kraft

9)Borussia Mönchengladbach

Gladbach lost 2-1 in Hamburg, but even if they had won, they needed both Frankfurt and Stuttgart to drop points to finish seventh.

Hertha, Werder Bremen, Augsburg, Hannover and Mainz could not qualify for Europe and were all safe from relegation.

- © imago / Michael Weber

Cologne were guaranteed to finish bottom, but one automatic relegation position was yet to be confirmed with either Wolfsburg or Hamburg set to join the Billy Goats. Those two and Freiburg were the only teams who could contest the relegation play-off against Holstein Kiel.

15)Freiburg

Freiburg needed a point at home to Augsburg to ensure their Bundesliga status and won 2-0.

- © gettyimages / Selim Sudheimer

16)Wolfsburg

Freiburg's win meant Wolfsburg needed to match Hamburg's result to ensure a play-off spot. A 4-1 win for the Wolves against relegated Cologne secured 16th place and a double-header against Holstein Kiel, third in Bundesliga 2.

- © imago / Jan Huebner