BERLIN (Reuters) - Borussia Dortmund kept the upper hand in the battle for third place despite a 1-1 draw at Augsburg on Saturday as they stayed ahead of fourth-placed Hoffenheim on goal difference on a frantic penultimate matchday of the season.
Champions Bayern Munich showed who is boss in the Bundesliga, scoring three times late in the game to win 5-4 at RB Leipzig in a free-flowing game with the Bavarians having secured the title two weeks ago and the hosts certain of second place.
Bayern's Robert Lewandowski scored his second goal of the afternoon in the 84th minute to cut the deficit to 4-3. David Alaba's stoppage-time free kick drew them level and Arjen Robben's last-gasp winner completed their sensational turnaround after having trailed 3-1 and 4-2.
Dortmund, through to the German Cup final later this month, are level on 61 points with Hoffenheim, who crushed Werder Bremen 5-3 with two goals from Andrej Kramaric, but have a better goal difference going into the last matchday next week.
There was bad news early on for Dortmund with midfielder Julian Weigl breaking his ankle after 20 minutes when his foot was caught in the grass and twisted 180 degrees.
Alfred Finnbogason then put the hosts ahead in the 28th minute but Pierre-Emerick Aubameyang levelled only four minutes later with his 29th goal of the campaign with Dortmund controlling the game with more than 70 percent possession.
The visitors upped the pressure after the break but could not find a winner against disciplined Augsburg, who are in 14th place on 37 points.
"We had possession, a lot of passing and I felt we had overall a good game," Dortmund coach Thomas Tuchel said. "But it was tough for us throughout. We worked hard but we were not really rewarded in the end.
"Now the situation for the last league game is clear. We have a final... and then the Cup final."
Hamburg SV continued their battle to avoid relegation by scoring a stoppage time equaliser through substitute Pierre-Michel Lasogga to earn a 1-1 draw at Schalke 04.
The result kept Hamburg, the only team to have played in the top division every season since the Bundesliga's creation in 1963, in the relegation playoff spot but sent 17th-placed Ingolstadt into the second division, joining already-relegated Darmstadt 98, who lost 2-0 to Hertha Berlin.
VfL Wolfsburg's Mario Gomez grabbed an 58th minute equaliser against Borussia Moenchengladbach for his 16th goal of the campaign that kept the Wolves two points ahead of Hamburg, whom they face on the last matchday.
The game was interrupted in the 79th minute for about half an hour due to a storm.
Bayer Leverkusen came from two goals down to draw 2-2 against Cologne to make sure of their Bundesliga spot next season but announced afterwards they will part ways with coach Tayfun Korkut at the end of the campaign.
Reporting by Karolos Grohmann; Editing by Toby Davis and Pritha Sarkar