Thomas Müller will leave Bayern Munich after 25 years at the club, the midfielder announced in a joint statement with Bayern on Saturday.

What happened?

Müller's contract is set to expire after the season, and he respected Bayern's decision not to offer him a new contract, despite it not reflecting his personal wishes.

He made his Bayern debut under Jürgen Klinsmann in 2008 and has since scored 247 goals in 743 matches, a club record.

Why it matters for Thomas Müller

Müller has been limited to 36 games in all competitions this season, starting only 12, and often coming off the bench in the final minutes.

He has helped Bayern win a record 12 Bundesliga titles and two Champions League crowns, with 33 trophies in total.

What comes next?

Müller didn't mention retirement, leaving open the possibility of representing another club for the first time since he left TSV Pähl for Bayern 25 years ago.

Bayern leads the Bundesliga and faces Inter Milan in the Champions League quarterfinals, with the final set to be played at Bayern's home stadium.

Müller's final game with Bayern will be at the FIFA Club World Cup in the United States in June and July.

The team president, Herbert Hainer, praised Müller, saying he is the definition of a Bavarian fairytale career, having grown in Bavaria and with Bayern.

Müller retired from international soccer after the European Championship last year, having made 131 appearances for Germany.

He expressed gratitude and joy for his career with Bayern, and hopes to celebrate titles and create fond memories with the fans before his departure.

Müller's playing time has dwindled recently, but he remains a key figure in Bayern's success, with his experience and skill still valued by the team.

As he prepares to leave Bayern, Müller will be looking to make the most of his remaining time with the club, and help them secure more titles.

The fans will be sad to see him go, but they will also be grateful for the memories and trophies he has helped the team achieve during his 25-year career.