Roger Federer, the winner of 103 singles titles and 20 Grand Slam titles, announced his retirement Thursday, at age 41 and after 24 years on the ATP tour.

The Swiss tennis star is one of the sport's most successful players in terms of both wins on the court and money made.

Federer has won $130.5 million in prize money. His career earnings are only exceeded by Rafael Nadal ($131.6 million) and Novak Djokovic ($158.9 million)

Andy Murray is a distant fourth behind Federer with $63.1 million in career earnings. Retired tennis legend Pete Sampras is fifth at $43.2 million.

Federer's net worth is estimated to be $550 million by Celebrity Net Worth, though it's unclear if that's an accurate estimation. According to Forbes, Federer is one of only 10 professional athletes who have ever amassed at least $100 million in total on and off-court earnings in the span of a single year.

"This is a bittersweet decision, because I will miss everything the tour has given me," Federer said in his retirement video that was posted on social media. "But at the same time, there is so much to celebrate. I consider myself one of the most fortunate people on Earth. I was given a special talent to play tennis, and I did it at a level that I never imagined, for much longer than I ever thought possible."

Federer heads into retirement with a career record of 1251-275. He won a career-high 12 titles in 2006, including three Grand Slams.

Federer ranks third all-time in Grand Slams with 20. Nadal is first with 22 Grand Slams. Djokovic is right behind him with 21.

Federer will compete for Team Europe in next week's Laver Cup as the final tournament of his career. Djokovic, Nadal, and Murray will also compete in the tournament at the O2 Arena in London from Sept. 23-25.

Roger Federer of Switzerland celebrates his win against John Isner during the men's final of the Miami Open Presented by Itau at Hard Rock Stadium March 31, 2019 in Miami Gardens, Florida. Matthew Stockman/Getty Images