Novak Djokovic says he will do his best to return soon after knee surgery

Novak Djokovic has said he will do everything he can to return to the court “as soon as possible” after undergoing surgery for a knee injury.

The 24-time Grand Slam champion withdrew from his French Open quarterfinal against Casper Ruud with a torn medial meniscus in his right knee during his fourth-round win over Francisco Cerundolo on Wednesday.

Recovery is expected to take at least three weeks, meaning the Serb could miss Wimbledon, which starts on July 1.

The injury will also affect the 37-year-old's preparation for the Olympics, which begin in Paris on July 27.

“I’m still processing it, but I’m happy to report that the surgery went well,” Djokovic wrote on his Instagram., Out

“My love for this sport is strong and my desire to compete at the highest level is what keeps me going.”

Djokovic is a seven-time Wimbledon champion, losing to Carlos Alcaraz in a five-set thriller in last year's final.

But he's never won an Olympic gold medal before, and he's made no secret of the fact that adding to that title has been a top priority for him this year.

Djokovic wrote along with his photo, “I am so grateful for the overwhelming support from the medical staff and fans who were by my side.”

“We will do our best to stay healthy and get back on the court as soon as possible.”

Djokovic also lost his number one position in the world rankings as Italy's Jannik Sinner took over.

Australian Open champion Sinner faces Spain's Carlos Alcaraz in the French Open semifinals on Friday.