Franck Ribery will leave Bayern Munich when his contract expires at the end of the season, the club have confirmed.
Former France international Ribery arrived from Marseille in 2007 and has won 21 trophies with the club, including eight Bundesliga titles.
The 36-year-old will join fellow veteran winger Arjen Robben in departing the Allianz Arena in June and a testimonial match will be held for both players in 2020.
"When I came to Bayern, it was a dream come true. It won't be easy to say goodbye, but we must never forget what we've achieved together," said Ribery.
"I won more than 20 trophies and, of course, I hope we can add another Bundesliga title and the DFB-Pokal at the end of this season. That would be great for me personally and my family and, of course, for the fans too.
"When I joined Bayern the relationship was immediately great. I always want to do special things for the fans when I'm on the pitch. I always want to play well because it feels so good to wear this jersey. I always wanted to get the jersey really wet for my club.
"The fans know I have heart and that I'm honest, we always had a good relationship. It's incredible to think I was here for 12 years and it's tough for me and the fans, but we cannot forget all the things we experienced together."
Chairman Karl-Heinz Rummenigge added: "Franck and Arjen are great players. FC Bayern owes a lot to both of them and we will give them a wonderful and emotional farewell.
"They've helped shape FC Bayern's most successful decade with fantastic football."
Qatari side Al Sadd and Western Sydney Wanderers - managed by former Bayern defender Markus Babbel - have been credited with an interest in Ribery, who intends to continue playing but does not have another deal in place already.
"I was at Bayern for 12 years and it was a great time for me and my family," he said.
"Of course, I'm still here for three weeks and I don't want to think too much about what will happen afterwards because I want to keep coming here and enjoying myself on the pitch with my team-mates.
"I don't have a concrete plan for next season yet. I'm not sure where I can go to play football. I will keep playing but nothing is 100 per cent certain yet. We'll have to wait and see."
- IND vs AUS live score 3rd ODI: Australia 261/3; Labuschagne, Carey at the crease
- Table Tennis LIVE Score, Asian Games 2023: Manav, Manush qualify for doubles R-32; Sathiyan, Manika in Mixed Doubles R-32 action now
- Asian Games 2023: Overall medals tally, September 27 - LIVE - Sift Kaur wins gold with WR in shooting; India 6th with 5 gold, 22 medals in total
- Ukraine to boycott all UEFA competitions featuring Russian teams
- Asian Games 2023 LIVE, September 27 Updates: Anant wins silver in men’s skeet; Esha bags silver in 25m pistol; Sumit, Ankita bow out in tennis; India 5th with 22 medals