One of the greatest tennis players of all time will retire on Sunday after 24 years in the sport.

He has won 20 Grand Slam singles titles, as well as attracting legions of fans worldwide.

You can vote for your favorite moment in his career, as he prepares to retire.

Wimbledon 2001 - beating Sampras at age 19

Pete Sampras was the winner at Wimbledon. He was the four-time defending champion and the heavy favorite for the title.

He was knocked out in the fourth round by a young man who was moving up the rankings.

The boy's champion at Wimbledon in 1998 came through in three hours and 41 minutes to beat Sampras' Wimbledon dominance.

It would be the first result on Centre Court.

  • 'A lift-off moment' - Federer v Sampras, 21 years on

Wimbledon 2003 - first Grand Slam title

Roger Federer with his first Wimbledon trophy in 2003
Federer would win eight of his 20 major singles title at Wimbledon

It was appropriate that he won his first Grand Slam at Wimbledon.

After failing to go beyond the quarter-finals in his previous outings at a major, Roger Federer went all the way to the final, where he beat Australia's Mark Philippoussis.

The win was dedicated to Peter Carter, who died in a car accident.

He said that Peter was an important person in his career. I hope he was able to see it.

The Swiss won 11 of his majors between 2004 and 2007, after the victory.

Wimbledon 2008 - Epic final against Nadal

Roger Federer congratulates Rafael Nadal on his victory
Before Wimbledon in 2008, Federer and Nadal had won 14 of the previous 16 Grand Slam titles

The 2008 final between him and Nadal is considered to be one of the greatest matches of all time, despite the fact that he lost.

The Swiss had lost to Nadal in the French Open final a few months before, but he was trying to win a sixth straight singles title.

The match was played over seven hours because of rain delays, and Nadal came back to win 3-6, 6-3, 6-3, 3-6, 6-3.

It was the peak of the rivalry between the two men, as it ended the 65 match winning streak of the Swiss.

  • What made the 2008 final so special?

Beijing 2008 - Olympic doubles gold

Stan Wawrinka and Roger Federer celebrate Olympic gold
Federer and Wawrinka would team up again at the Davis Cup in 2014

After his loss to Nadal at Wimbledon, the world's top ranked player was on the verge of losing his number one ranking to the Spaniard.

After losing in the quarter-finals of the singles, he and Stan Wawrinka went on to win the men's doubles title.

Switzerland won a tennis medal at the Olympics for the first time in 25 years.

It would be the only gold medal for the Swiss tennis player.

French Open 2009 - Completes career Grand Slam

Roger Federer with the French Open trophy
Federer was appearing in his fifth successive major final, having won the US Open the previous year

The French Open title was the only thing that didn't go his way. He had reached the final in Paris three times but had lost to Nadal.

In the build-up to the French Open, Nadal was once again the heavy favorite to win the trophy, despite the fact that he had lost just two games in his previous three matches.

The fourth-round defeat of Nadal by Robin Soderling put things in motion.

He became the sixth man to win all four Grand Slam singles titles when he beat Soderling in the finals.

Wimbledon 2009 - Record-breaking 15th Slam title

Roger Federer with the Wimbledon trophy in 2009
The Wimbledon match between Federer and Roddick was the longest final in terms of games played in Grand Slam history

The Wimbledon final was just as draining as the one where he lost to Nadal.

The match lasted four hours and 17 minutes and included a fifth set that lasted 95 minutes.

As the American watched on from the Royal Box, he became the all-time leader in major trophy wins with 15.

The victory made him the top ranked man in the world.

Wimbledon 2012 - Beats Murray in final

Roger Federer waves to the Wimbledon crowd in 2012
Federer's win in 2012 saw him regain the world number one ranking from Novak Djokovic

He had not won a Grand Slam title since January 2010 and had gone out in the quarter-finals in his last two appearances.

He defeated defending champion and top seed Novak Djokovic in the semi-finals after coming through a five set match.

Andy Murray was hoping to become the first British man in 76 years to win a major singles trophy.

The world number one regained his number one ranking and tied the Open era record of seven Wimbledon men's singles titles when he defeated Tomas Berdych in the Wimbledon men's singles final on Sunday.

On the same court as he won Olympic gold, Murray would have revenge on his mind.

2014 Davis Cup - Triumph with Switzerland

An emotional Roger Federer after Switzerland won the Davis Cup
Federer was left in tears after Switzerland won the Davis Cup

After helping Switzerland reach their first Davis Cup final in 22 years, he withdrew from the final of the World Tour due to a back injury.

In the first singles match against France, the tie was tied at one.

He and Wawrinka were selected to play Richard Gasquet, knowing that victory would give Switzerland the trophy.

After beating Gasquet in straight sets, a teary-eyed Federer dedicated the trophy to the boys.

Australian Open 2017 - Surprise major title after injury lay-off

Roger Federer celebrates winning the Australian Open
Federer's victory at the Australian Open secured his 18th major singles trophy

Many said that he wouldn't win a major title again after he had a knee injury.

He beat two top 10 players in Kei Nishikori and Tomas Berdych before ousting Stan Wawrinka in five sets in the final.

In another epic that almost inevitably went to five sets, Switzerland's Roger Federer won his 18th Grand Slam title and his first in five years with a victory at the Australian Open.

It was the first time in seven years that the Swiss maestro had beaten the Spaniard.

Dubai 2019 - 100th ATP title

Roger Federer: Images of his 103 career ATP title wins

Jimmy Connors is the only man to have won 100 titles on the men's tennis circuit.

He beat Greece's Stefanos Tsitsipas in the final to win the trophy.

He won his second career title in Milan at the age of 19.

His final title will be at the Swiss Indoors in 2019.

  • Federer's 100 titles in numbers

And now vote for your favourite

Click here to vote if you're viewing the page on the news app.