Stuttgart's 4-1 thrashing of Wuerzberg confirmed them as second division champions, two points clear of Hanover, whose 1-1 draw at Sandhausen was enough to finish ahead of Eintracht Braunschweig.
It is an immediate return to the top flight for Stuttgart and Hanover after both were relegated last season.
Third-placed Braunschweig could still join them in Germany's top flight for the 2017/18 campaign.
Braunschweig face 2009 German champions Wolfsburg, who finished third from bottom in the Bundesliga, in a two-legged promotion/relegation play-off on May 25 and 29.