Match ends, FC Bayern München 4, Sport-Club Freiburg 1.
Bayern Munich captain Philipp Lahm was given an emotional ovation as he waved farewell to the German club before his final career appearance.
Germany's 2014 World Cup-winning captain, 33, was presented with a number of mementos before Saturday's home win against Freiburg.
Lahm played his 517th and final game for the Bundesliga champions.
Midfielder Xabi Alonso, 35, and keeper Tom Starke, 36, were also presented with gifts as they prepare to retire.
Bayern clinched their fifth successive Bundesliga title last month and finished 15 points clear at the top of the table after a 4-1 victory.
'Lahm is one of the all-time greats'
Lahm announced in February that he would be retiring at the end of the season after spending his whole career - bar a loan spell with Stuttgart - at Bayern.
The full-back or holding midfielder has won almost every major domestic and European trophy with the Bavarian club, including his eighth Bundesliga title - a joint record with Bayern legends Oliver Kahn, Bastian Schweinsteiger and Mehmet Scholl - this season.
Lahm fought back the tears when he was substituted with five minutes remaining, warmly hugging each of his team-mates before walking off to a standing ovation from the Allianz Arena.
He blew kisses to the home fans, then embraced manager Carlo Ancelotti and Alonso - who had already been substituted - on the touchline.
Lahm, who joined Bayern as an 11-year-old before making his debut in 2002, will be remembered as one of the club's all-time greats, said chairman Karl-Heinz Rummenigge.
He will be inducted into the club's Hall of Fame after the game, the first player since Kahn in 2008 to be added.
"He deserves this accolade, which puts him up there with the greats of FC Bayern," said Rummenigge.
"Both on the pitch and off it, in his role as captain, he has been a truly important person for the club."
Alonso signs off with an assist
Former Liverpool and Real Madrid midfielder Alonso, who said in March he would retire when his contract ended, also ended a memorable career in both domestic and international football.
His triumphs include two Champions League wins, four domestic titles, including three with Bayern, as well as the 2010 World Cup and the 2008 and 2012 European Championships with Spain.
A trademark diagonal pass from Alonso allowed Arjen Robben to cut inside from the right flank and open the scoring against Freiburg, before second-half goals from Arturo Vidal, Franck Ribery and Joshua Kimmich sealed the win.
Alonso was brought off in the 81st minute to another emotional standing ovation from the Bayern fans.
"Alonso is one of our best signings of recent years, a real lucky find, a gifted tactician, a highly intelligent man and one of the most uncomplicated players I've ever witnessed," added Rummenigge.
- 21LahmSubstituted forFerreira de Souzaat 87'minutes
- 17BoatengSubstituted forKimmichat 10'minutes
- 14AlonsoSubstituted forRibéryat 82'minutes
- 23VidalBooked at 53mins
- 6Thiago Alcántara
- 11Douglas Costa
- 13Ferreira de Souza
- 35Renato Sanches
- 2IgnjovskiSubstituted forNielsenat 88'minutes
- 8FrantzSubstituted forSchusterat 73'minutes
- 19HabererSubstituted forPetersenat 68'minutes
- Dr. Jochen Drees
- Shots on Target
Second Half ends, FC Bayern München 4, Sport-Club Freiburg 1.
Goal! FC Bayern München 4, Sport-Club Freiburg 1. Joshua Kimmich (FC Bayern München) header from very close range to the bottom left corner. Assisted by Robert Lewandowski with a headed pass following a corner.
Corner, FC Bayern München. Conceded by Nicolas Höfler.
Foul by Robert Lewandowski (FC Bayern München).
Alexander Schwolow (Sport-Club Freiburg) wins a free kick in the defensive half.
Goal! FC Bayern München 3, Sport-Club Freiburg 1. Franck Ribéry (FC Bayern München) left footed shot from very close range to the bottom right corner. Assisted by Arjen Robben following a fast break.
Corner, Sport-Club Freiburg. Conceded by Thomas Müller.
Attempt blocked. Marc-Oliver Kempf (Sport-Club Freiburg) left footed shot from the left side of the six yard box is blocked.
Foul by Juan Bernat (FC Bayern München).
Maximilian Philipp (Sport-Club Freiburg) wins a free kick on the right wing.
Attempt blocked. Robert Lewandowski (FC Bayern München) right footed shot from the centre of the box is blocked. Assisted by Franck Ribéry.
Joshua Kimmich (FC Bayern München) wins a free kick in the defensive half.
Foul by Florian Niederlechner (Sport-Club Freiburg).
Substitution, Sport-Club Freiburg. Håvard Nielsen replaces Aleksandar Ignjovski.
Attempt blocked. Robert Lewandowski (FC Bayern München) right footed shot from outside the box is blocked.
Substitution, FC Bayern München. Rafinha replaces Philipp Lahm.
Franck Ribéry (FC Bayern München) wins a free kick in the attacking half.
Foul by Manuel Gulde (Sport-Club Freiburg).
Attempt missed. Nils Petersen (Sport-Club Freiburg) right footed shot from a difficult angle on the right misses to the left. Assisted by Julian Schuster with a cross.