Mainz ensured their place in the Bundesliga next term with a 2-0 win over Cologne, who guaranteed their safety a week ago.
Stuttgart picked up a crucial 2-0 win over Mainz on Saturday evening to keep their survival hopes alive.
A late Gojko Kacar goal lifted Hamburg out of the bottom three with a 2-1 victory at Mainz.
Borussia Monchengladbach moved back into third place with a 2-1 win at Hertha Berlin, while Hamburg saw off Mainz.
Mainz dealt Schalke's Europa League qualifying hopes a blow while boosting their own with a 2-0 win.
Borussia Dortmund responded to the news of Jurgen Klopp's imminent departure with a 3-0 victory over Paderborn,