Former World No.16 Anabel Medina Garrigues has announced her intention to end her professional tennis career at the conclusion of next month's US Open.

The 35-year-old Spaniard announced her decision to retire from the sport on Friday.

Troubled by a shoulder injury in recent years, Medina Garrigues hasn’t played a match since losing in the first round of the Mallorca Open in June.

Over the course of a nearly 20-year career, she reached the top 20 in both singles and doubles and won a total of 39 WTA titles since 2001 between singles and doubles.

“After [Fed Cup in April], I played again with Arantxa Parra Santonja at the Mutua Madrid Open, Rome, Roland Garros and Mallorca," the Spaniard said.

"It is true that I would to have liked to be able to play more, but my shoulder, although it is much better, it is not 100 percent and I have to respect my partner because it would be selfish to continue this way. I have decided to end my career at the US Open."

The Spaniard was named the captian of the Spanish Fed Cup team at the close of last year, and famously coaches Jelena Ostapenko to her first Grand Slam title last summer in Paris while on an injury break with shoulder problems.

Read more: Clay expert Medina Garrigues helps Ostapenko slide to French Open success

Among her career achievements on court, Medina Garrigues won 11 singles and 28 doubles titles, including the 2008 and 2009 French Opens, and a silver medal at the 2008 Beijing Olympics, with Virginia Ruano Pascual.

"With her, I spent the most important moments of my career, that silver medal in Beijing and two Roland Garros," the Spaniard added in her retirement statement

The Spaniard played in the main draw of 41 consecutive Grand Slams from 2004-2014, and reached her career-high singles ranking of World No.16 in 2009.