Rafael Nadal has withdrawn from Wimbledon with a wrist injury, making the announcement Thursday on his Facebook page.
In the message, which was written in Spanish, Nadal said he decided to withdraw from the season's third Grand Slam event after getting the results of his most recent medical exam.
Nadal, who has won two Wimbledon titles, also was forced out of the French Open, where he is a nine-time champion, citing the injury to his left wrist.
He was able to play his second-round match, which he won, after receiving an injection to numb the pain. His victory that day overFacundo Bagnis made him just the eighth man in history to win 200 matches at Grand Slam tournaments.
However, he was forced to withdraw from the tournament the following day, saying the pain had increased and that it wouldn't be possible to receive an injection before the remainder of his matches at Roland Garros, potentially five more if he were to advance to the final.
Nadal, who is tied for second all time with 14 Grand Slam titles, had already pulled out of next week's Wimbledon grass-court warm-up at Queen's Club.
It's unclear whether Nadal will be able to play at the Olympics in Rio de Janeiro in August. He has been chosen as Spain's flag carrier for the opening ceremony. Nadal missed the 2012 London Olympics because of an injury.
The Wimbledon referee's office confirmed Nadal's withdrawal. He will be replaced in the main draw by another Spaniard, Albert Montanes.
Wimbledon also announced withdrawals of Spain's Tommy Robredo (elbow) and Australia's Thanasi Kokkinakis (shoulder). They will be replaced by Portugal's Gastao Elias and Facundo Bagnis of Argentina.
Wimbledon starts on June 27.
The Associated Press contributed to this report.