Roger Federer has announced that he is likely to miss the remainder of the tennis season with a knee injury.
The 17-time Grand Slam champion will therefore play no part in the Rio Olympics, which get underway early next month.
Federer, who underwent surgery in February, says that he needs "more extensive rehabilitation" on the injury if he is to prolong his playing career.
Having withdrawn from this week's Rogers Cup, the 34-year-old was seen as a doubt to take part in the final Grand Slam of the year at the US Open, and he has now confirmed that he will sit out the rest of the campaign.
"I'm extremely disappointed to announce that I will not be able to represent Switzerland at the Olympic Games in Rio and that I will also miss the remainder of the season," Federer said in a statement posted on Facebook.
"Considering all options after consulting with my doctors and my team, I have made the very difficult decision to call an end to my 2016 season as I need more extensive rehabilitation following my knee surgery earlier this year.
"The doctors advised that if I want to play on the ATP World Tour injury free for another few years, as I intend to do, I must give both my knee and body the proper time to fully recover. It is tough to miss the rest of the year. However, the silver lining is that this experience has made me realise how lucky I have been throughout my career with very few injuries.
"The love I have for tennis, the competition, tournaments and of course you, the fans remains intact. I am as motivated as ever and plan to put all my energy towards coming back strong, healthy and in shape to play attacking tennis in 2017. Thanks for your continued support."
Federer has not played since losing to Milos Raonic in the semi-finals of Wimbledon earlier this month, ending his hopes of winning an eighth title at SW19 in the process.