Hansi Flick, Bayern Munich's technical director, announced that he had informed the club and the players that he was leaving the club at the end of the season.
Following Bayern Munich's 3-2 win over Wolfsburg on Saturday, Flick told reporters that he had made a decision to leave the German champions and the UEFA champions.
He told Sky Germany: "I informed the team today that I had informed the club during the week following the Paris Saint-Germain game that I wished to terminate my contract at the end of the season."
Flick: The future is unclear
He continued: "The future is far from clear. There have been no discussions with the club about renewal. It is clear that the task of taking over Germany is an option that every coach must think about. I have decided to take this step and leave the Bavarian team."
Flick added: "But I have to understand everything now, the last few weeks have not been easy, and that's why it was so important to say that to the club and the players."
Hansi Flick, succeeds Joachim Löw in the training of the German team
The name "Flick" is linked to a return to the German team, where he can take charge, succeeding Joachim Löw, the technical director of the German team after the 2020 European Championship this summer.
Bayern are 7 points ahead of the German league table with 68 points and are behind Leipzig, who are on track to win a record ninth consecutive league title but were knocked out of the UEFA Champions League last Tuesday in front of Paris Saint-Germain.
Flick took charge of Bayern Munich as caretaker manager following the dismissal of club Niko Kovac in July 2019, but was given the position of technical director in April 2020.
The German led Bayern Munich to 6 titles during last season, including the UEFA Champions League title for the sixth time in the history of the Bavarian giant.