Zlatan Ibrahimovic will leave French champions Paris Saint-Germain at the end of this season, the Swedish superstar confirmed via Twitter on Friday.
"My last game tomorrow at Parc des Princes. I came like a king, left like a legend," wrote Ibrahimovic, ending speculation that he could extend his stay with PSG beyond this season.
Ibrahimovic, whose contract expires this summer, will make his final home appearance for the club in their last Ligue 1 game of the season against Nantes on Saturday.
However, he will then run out in a PSG shirt one more time when they face Marseille in the French Cup final on May 21 at the Stade de France.
He will then make his French swansong when he turns out for Sweden at Euro 2016.
There has been widespread speculation about the 34-year-old former Ajax, Juventus, Inter Milan, Barcelona and AC Milan star's next destination.
He has been linked with a move to the English Premier League, while his agent recently suggested he could return to AC Milan.
Ibrahimovic, who last weekend was crowned France's player of the year for a record third time, has enjoyed enormous domestic success with PSG since moving to the French capital from Milan in 2012, winning the Ligue 1 title in each of his four seasons.
If Paris win the French Cup next week, they will have completed a clean sweep of the domestic honours for the second year running.
He scored his 36th league goal of the season in Wednesday's 1-1 draw at Bordeaux, leaving him just one away from equalling Argentine striker Carlos Bianchi's club record of 37 in a top-flight campaign, set back in 1978.
He has 46 in all competitions and has 152 goals in total as a PSG player, having overtaken Portuguese great Pauleta as the club's all-time leading scorer back in October.
Ibrahimovic has also become the club's all-time leading scorer in the league and in Europe, but he never managed to reproduce his brilliant domestic form in the Champions League.
The Swede performed poorly in PSG's quarter-final exit to Manchester City last month, missing a penalty in the 2-2 first-leg draw at the Parc des Princes before Paris went out 3-2 on aggregate.