Rafael Nadal, the 22-time Grand Slam champion, will retire from tennis at the end of this season.
The 38-year-old will represent Spain in his final appearance at next month's Davis Cup Finals in Malaga.
Nadal has barely played over the past two seasons because of injuries and suggested last year he could retire at the end of the 2024 season.
In a video message released on Thursday, Nadal said: "I am here to let you know I am retiring from professional tennis.
"The reality is that it has been some difficult years, the last two especially.