LONDON — Roger Federer lost in doubles with Rafael Nadal at the Laver Cup Friday evening in London in his last match before retirement.
>> Read more trending news
According to The Associated Press , Federer, 41, announced last week that this event was his final one before retirement and that his doubles outing would be his last match.
Read More [ Photos: The incredible tennis career of Roger Federer ]
The New York Times reported that Federer’s career has spanned 24 years.
According to the AP, Federer and Nadal were on-court rivals but friends off the court.
>> Tennis great Roger Federer announces retirement
The Tennis Channel on Twitter said that Federer and Nadal, Team Europe, fought hard but ultimately lost to Team World 4-6, 7-6 and 11-9.
Federer did not compete anywhere since his quarterfinal loss at Wimbledon in July 2021 until the doubles match Friday, according to the AP . He had a third surgery on his right knee.
Federer has hit the men’s market with eight Wimbledon, six Australian Open, five U.S. Open and one French Open tennis championships, according to the AP . He has 103 career single trophies, 310 weeks at number one in the ATP ranking, a Davis Cup Title, Olympic medals and 20 Grand Slam titles.
1999 25 May 1999: Roger Federer of Switzerland in action during Round One of the French Open at Roland Garros in Paris, France.Federer lost in 4 sets. (Clive Brunskill/Getty Images)
2000 27 Mar 2000: Portrait of Roger Federer of Switzerland during a feature shoot during the Ericsson Open at Crandon Park in Key Bicayne, Florida, USA. (Clive Brunskill/Getty Images)
2008 LONDON - JULY 06: Roger Federer of Switzerland congratulates Rafael Nadal of Spain in winning the Championship trophy during the men's singles Final on day thirteen of the Wimbledon Lawn Tennis Championships at the All England Lawn Tennis and Croquet Club on July 6, 2008 in London, England. (Julian Finney/Getty Images)
2011 MELBOURNE, AUSTRALIA - JANUARY 23: Roger Federer of Switzerland serves in his fourth round match against Tommy Robredo of Spain during day seven of the 2011 Australian Open at Melbourne Park on January 23, 2011 in Melbourne, Australia. (Cameron Spencer/Getty Images)
2011 LONDON, ENGLAND - NOVEMBER 27: Roger Federer of Switzerland lifts the trophy following his victory during the men's final singles match against Jo-Wilfried Tsonga of France during the Barclays ATP World Tour Finals at the O2 Arena on November 27, 2011 in London, England. (Julian Finney/Getty Images)
2011 PARIS, FRANCE - MAY 31: Roger Federer of Switzerland serves during the men's singles quarterfinal match between Gael Monfils of France and Roger Federer of Switzerland on day ten of the French Open at Roland Garros on May 31, 2011 in Paris, France. (Alex Livesey/Getty Images)
2011 KEY BISCAYNE, FL - MARCH 28: Roger Federer of Switzerland serves against Juan Monaco of Argentina during the Sony Ericsson Open at Crandon Park Tennis Center on March 28, 2011 in Key Biscayne, Florida. (Mike Ehrmann/Getty Images)
2011 MONACO - APRIL 12: Roger Federer of Switzerland plays a backhand in his match against Philipp Kohlschreiber of Germany during Day Three of the ATP Masters Series Tennis at the Monte Carlo Country Club on April 12, 2011 in Monte Carlo, Monaco. (Julian Finney/Getty Images)
2012 LONDON, ENGLAND - JULY 08: (EDITOR'S NOTE: This image is a digital composite) In this handout image supplied by the All England Lawn Tennis Club (AELTC), Wimbledon Singles Champions Serena Williams of the USA and Roger Federer of Switzerland pose for a portrait at the Wimbledon Championships 2012 Champions' Dinner at the InterContinental Park Lane Hotel on July 8, 2012 in London, England. (Handout/Getty Images)
2013 LONDON, ENGLAND - NOVEMBER 10: Roger Federer of Switzerland walks out for his men's singles semi-final match against Rafael Nadal of Spain during day seven of the Barclays ATP World Tour Finals at O2 Arena on November 10, 2013 in London, England. (Clive Brunskill/Getty Images)
2013 MELBOURNE, AUSTRALIA - JANUARY 15: Roger Federer of Switzerland serves in his first round match against Benoit Paire of France during day two of the 2013 Australian Open at Melbourne Park on January 15, 2013 in Melbourne, Australia. (Cameron Spencer/Getty Images)
2014 MELBOURNE, AUSTRALIA - JANUARY 22: Roger Federer of Switzerland celebrates winning his quarterfinal match against Andy Murray of Great Britain during day 10 of the 2014 Australian Open at Melbourne Park on January 22, 2014 in Melbourne, Australia. (Clive Brunskill/Getty Images)
2014 MIAMI, FL - MARCH 19: Roger Federer attends the Moet & Chandon "Tiny Tennis" With Roger Federer at Club 50 at Viceroy Miami on March 19, 2014 in Miami, Florida. (Gustavo Caballero/Getty Images for Moet & Chandon)
2014 LONDON, ENGLAND - JULY 05: Roger Federer of Switzerland during a practice session on day twelve of the Wimbledon Lawn Tennis Championships at the All England Lawn Tennis and Croquet Club on July 5, 2014 in London, England. (Jan Kruger/Getty Images)
2014 LILLE, FRANCE - NOVEMBER 22: Roger Federer of Switzerland and Stanislas Wawrinka of Switzerland in action against Richard Gasquet of France and Julien Benneteau of France in the doubles during day two of the Davis Cup Tennis Final between France and Switzerland at the Stade Pierre Mauroy on November 22, 2014 in Lille, France. (Julian Finney/Getty Images)
2015 LONDON, ENGLAND - NOVEMBER 17: Roger Federer of Switzerland celebrates victory in his men's singles match against Novak Djokovic of Serbia during day three of the Barclays ATP World Tour Finals at the O2 Arena on November 17, 2015 in London, England. (Julian Finney/Getty Images)
2015 SYDNEY, AUSTRALIA - JANUARY 12: Roger Federer of Switzerland plays tennis with Lleyton Hewitt of Australia between speedboats on Sydney Harbour ahead of their Fast 4 Exhibition match on January 12, 2015 in Sydney, Australia. (Cameron Spencer/Getty Images)
2018 STUTTGART, GERMANY - JUNE 17: Roger Federer of Switzerland serves the ball to Milos Raonic of Canada during the final match on day 7 of the Mercedes Cup at Tennisclub Weissenhof on June 17, 2018 in Stuttgart, Germany. (Alex Grimm/Getty Images)
2016 PERTH, AUSTRALIA - DECEMBER 29: Roger Federer of Switzerland poses for a selfie with spectators after a practice session at the Perth Arena on December 29, 2016 in Perth, Australia. (Paul Kane/Getty Images)
2017 LONDON, ENGLAND - JULY 16: Roger Federer of Switzerland celebrates victory with the trophy after the Gentlemen's Singles final against Marin Cilic of Croatia on day thirteen of the Wimbledon Lawn Tennis Championships at the All England Lawn Tennis and Croquet Club at Wimbledon on July 16, 2017 in London, England. (Clive Brunskill/Getty Images)
2017 PERTH, AUSTRALIA - DECEMBER 28: Roger Federer of Switzerland takes a selfie with a Quokka at Rottnest Island ahead of the 2018 Hopman Cup on December 28, 2017 in Perth, Australia. (Paul Kane/Getty Images)
2017 LONDON, ENGLAND - JULY 16: Roger Federer of Switzerland kisses the trophy as he celebrates victory after the Gentlemen's Singles final against Marin Cilic of Croatia on day thirteen of the Wimbledon Lawn Tennis Championships at the All England Lawn Tennis and Croquet Club at Wimbledon on July 16, 2017 in London, England. (Clive Brunskill/Getty Images)
2018 MONACO - FEBRUARY 27: (EDITORS NOTE: Image was altered with digital filters.) Tennis player Roger Federer holds his 6 Laureus World Awards after the 2018 Laureus World Sports Awards at Salle des Etoiles, Sporting Monte-Carlo on February 27, 2018 in Monaco, Monaco. (Simon Hofmann/Getty Images for Laureus)
2019 PARIS, FRANCE - JUNE 07: Rafael Nadal of Spain and Roger Federer of Switzerland embrace at the net after their mens singles semi-final match during Day thirteen of the 2019 French Open at Roland Garros on June 07, 2019 in Paris, France. (Clive Mason/Getty Images)
2020 MELBOURNE, AUSTRALIA - JANUARY 28: Roger Federer of Switzerland serves during his Men’s Singles Quarterfinal match against Tennys Sandgren of the United States on day nine of the 2020 Australian Open at Melbourne Park on January 28, 2020 in Melbourne, Australia. (Graham Denholm/Getty Images)
2021 PARIS, FRANCE - JUNE 03: Roger Federer of Switzerland plays a forehand during his mens second round match against Marin Cilic of Croatia during day five of the 2021 French Open at Roland Garros on June 03, 2021 in Paris, France. (Clive Brunskill/Getty Images)
2022 LONDON, ENGLAND - SEPTEMBER 22: Rafael Nadal, Andy Murray, Roger Federer and Novak Djokovic of Team Europe make their way towards a Gala Dinner at Somerset House via the River Thames ahead of the Laver Cup at The O2 Arena on September 22, 2022 in London, England. (Julian Finney/Getty Images for Laver Cup)
2022 LONDON, ENGLAND - SEPTEMBER 23: Roger Federer of Team Europe shows emotion as they are serenaded by players of both Team Europe and Team World during Day One of the Laver Cup at The O2 Arena on September 23, 2022 in London, England. (Julian Finney/Getty Images for Laver Cup)
2022 LONDON, ENGLAND - SEPTEMBER 23: Roger Federer of Team Europe shows emotion following their final match during Day One of the Laver Cup at The O2 Arena on September 23, 2022 in London, England. (Clive Brunskill/Getty Images for Laver Cup)
2022 LONDON, ENGLAND - SEPTEMBER 23: Roger Federer of Team Europe acknowledges the crowd following their final match during Day One of the Laver Cup at The O2 Arena on September 23, 2022 in London, England. (Julian Finney/Getty Images for Laver Cup)
2022 LONDON, ENGLAND - SEPTEMBER 23: Roger Federer of Team Europe shows emotion following their final match during Day One of the Laver Cup at The O2 Arena on September 23, 2022 in London, England. (Clive Brunskill/Getty Images for Laver Cup)
2022 LONDON, ENGLAND - SEPTEMBER 23: Roger Federer of Team Europe shows emotion as they acknowledge the fans following their final match during Day One of the Laver Cup at The O2 Arena on September 23, 2022 in London, England. (Julian Finney/Getty Images for Laver Cup)
2022 LONDON, ENGLAND - SEPTEMBER 22: Roger Federer of Team Europe acknowledges the crowd as he walks off centre court following a practice session ahead of the Laver Cup at The O2 Arena on September 22, 2022 in London, England. (Julian Finney/Getty Images for Laver Cup)