Roger Federer, one of the greatest players of all time, will retire from top-level tennis after the Laver Cup in London this month.
The 20-time Grand Slam champion has not played since Wimbledon 2021, after which he had a third knee operation.
"My body's message to me lately has been clear," Swiss Federer, 41, said.
"I have played more than 1,500 matches over 24 years. Now I must recognise when it is time to end my competitive career."
He added: "To the game of tennis, I love you and will never leave you.