Rafael Nadal said he has left both a sporting and personal legacy after retiring from professional tennis on Tuesday at the Davis Cup.

The 38-year-old was beaten in the opening singles rubber of the quarterfinals as the Netherlands defeated Spain 2-1 to reach the final four.

Nadal, a 22-time Grand Slam winner, has enjoyed a glittering and historic career over the past 23 years.