Robert Lewandowski broke Gerd Muller's long-standing record for goals scored in a single Bundesliga season with a last-gasp effort as Bayern Munich routed Augsburg 5-2 on a day of fond farewells.

The prolific Pole could only watch on as an own goal plus efforts from Serge Gnabry, Joshua Kimmich and Kingsley Coman had the champions flying at half-time of the season finale at the Allianz Arena.

But, after consolations from Andre Hahn and Florian Niederlechner, Lewandowski followed in when Rafal Gikiewicz spilled Leroy Sane's effort to make it 41 top-flight goals for the season with the last kick of the game.

It was a dramatic ending to an emotional outing, which was the last for head coach Hansi Flick and modern-day Bayern greats David Alaba, Jerome Boateng and Javi Martinez.

Robert Lewandowski was brought off in the second half of Bayern Munich's edgy 1-0 victory against Augsburg as a precaution, head coach Hansi Flick confirmed.

Lewandowski scored the 13th-minute penalty that ultimately secured the three points for Bundesliga champions Bayern at the Augsburg Arena on Wednesday.

However, superstar striker Lewandowski was substituted after 67 minutes and Bayern were left grateful for a spot-kick miss from Alfred Finnbogason midweek.

Flick explained the surprising decision was because Lewandowski has been managing an issue with his thigh.

"[It was] to be on the safe side because Robert is very important to us. We didn't want to take any risks," Flick said in quotes reported by SID.

"He already said this morning that he could feel something in the thigh muscles on the back, but [he felt] that he could control it quite well."

Bayern were brilliant in the opening period but struggled in the second half in a theme of only playing well in patches that has become rather familiar in recent weeks.

Back-to-back wins and a first clean sheet since October followed a loss to Borussia Monchengladbach and a shock DFB-Pokal exit to second-tier Holsten Kiel, with Bayern's performances well below their best.

Flick, though, said even a team like Bayern – who won a superb treble in 2019-20 – can hit a "limit" in what has been a testing period.

"The team played an outstanding year, at some point they too are at their limit," he added to Sky Germany, with Bayern four points clear atop the table. 

"It was a bit of luck against Freiburg in the end, but very important. We [wanted] to add more today and take three points with us to Munich."

Bayern Munich's luck was in as a story of two penalties was the main tale in their 1-0 win over Augsburg in Tuesday's Bundesliga contest.

Robert Lewandowski calmly slotted home from the spot after 13 minutes at Augsburg Arena and missed a glut of chances in a first half dominated by the champions.

It was a completely different outlook for Bayern after the break, though, and Hansi Flick's side were left breathing a sigh of relief when Alfred Finnbogason struck the post with a penalty of his own 15 minutes from time.

The end result means Bayern remain four points clear at the top but Flick will want to see fewer of the Jekyll-and-Hyde performances that have been on display in recent weeks from his side.

Rani Khedira's clumsy kick on Lucas Hernandez allowed Lewandowski to find the bottom-right corner with a cool 13th-minute penalty that looked like setting the tone for a dominant win.

Serge Gnabry was denied by the busy Rafal Gikiewicz and Thomas Muller put the rebound narrowly wide as Bayern peppered the hosts' goal.

Gnabry was kept out again by Gikiewicz before teeing up Lewandowski, who was guilty of wastefulness a couple of times, with the Pole only hitting the outside of the post with the goal gaping.

A second half completely at odds with the first saw Bayern struggle to create openings and Daniel Caligiuri's long-range effort would have briefly had away hearts in mouths before rising comfortably over.

There was an even greater left-off shortly after when substitute Finnbogason fluffed his lines from the spot after Benjamin Pavard had been pinged for handball from Iago's flick in the area.

Muller had the ball in the net but Jamal Musiala clearly ran the ball out in the act of setting him up, before Florian Niederlechner skewed wide and Felix Uduokhai headed over in further late scares that a lacklustre Bayern ultimately survived.

© 2020 SportsMaxTV All Rights Reserved.