men's rankings for a total of 310 weeks including a record 237 consecutive weeks.
The Swiss, known for his calm demeanor, forward movement and his net game, won Wimbledon five years in a row from 2003-2007.
At the Olympics, Federer won a silver medal in singles in 2012 after taking a gold medal in 2008 in doubles.
Federer shocked the tennis world by announcing his retirement from tennis September 15th pending his final professional tennis tournament at the Laver Cup.
In 2021 Federer played only five professional tennis tournaments with his last match a Wimbledon quarterfinal 6-3, 7-6(7-4), 6-0 loss to Hubert Hurkacz of Poland.
Federer had his best season on the professional tennis tour in 2006 when he went 92-5 winning 12 singles titles including the Australian Open, Wimbledon and the US Open.
The Swiss would have won the Grand Slam; all four majors in one year had it not been for a final round loss at Roland Garros to Nadal that year.
After Friday's doubles match, Federer in tears waved goodbye to the crowd before receiving a standing ovation.
Federer is thought to be one of the greatest tennis players ever and perhaps the greatest ever at the net.
"It's been a wonderful day. I'm happy, not sad," Federer said. "It feels great to be here. I'm happy I made it through."
"It's been the perfect journey. I'd do it all again."