Hertha Berlin have secured a return to the Bundesliga after beating Sandhausen 1-0 in the second division.
Pierre-Michel Lasogga scored the only goal in the 85th minute, moving Hertha 14 points clear of third-placed Kaiserslautern with four games remaining.
Two clubs are promoted automatically, with the third-placed club moving into the play-offs.
Hertha were relegated from the Bundesliga last season, the second time they had made the drop in the last three years.
Berlin had been the only major European capital without a top-flight club this season.
Information from the Press Association was used in this report.