Dan Hamilton-USA TODAY Sports

Spain's Feliciano Lopez ended his 26-year playing career Thursday with a quarterfinal loss to Yannick Hanfmann of Germany at the Mallorca Open.

Lopez, 41, received a warm ovation from the Spanish crowd following his 6-2, 6-4 loss on his favorite surface at the ATP 250 grass-court event.

Lopez was a three-time quarterfinalist at Wimbledon (2005, 2008 and 2011) and also reached the final eight at the 2015 U.S. Open. He won seven singles titles on the ATP Tour and hoisted his only Grand Slam trophy in men's doubles at the 2016 French Open.

He hangs up his racquet with a career record of 506-490, with his final win coming Wednesday in three sets against Australia's Jordan Thompson.

"I didn't want to retire with people feeling sorry for me, or playing a level that I wouldn't have felt comfortable with," Lopez said. "I'm very happy to be able to play how I have so far. I feel competitive and that's what I wanted."

Lopez's 87 wins on grass are the most among his countrymen, followed by Rafael Nadal with 76.

More must-reads:

TODAY'S BEST
Watch: Chris Kreider's natural third-period hat trick shatters Hurricanes' comeback hopes
Dodgers starter undergoes season-ending UCL surgery
Knicks star ruled out for potential closeout game
Veteran NFL safety will either play for this team or retire in 2024
Former Red Wings head coach linked to open NHL job
How Patriots' Drake Maye has already impressed Jacoby Brissett
LeBron James, Giannis Antetokounmpo, Stephen Curry among Forbes' highest-paid athletes for 2024
Steve Cohen addresses if Mets could again be trade-deadline sellers
Tiger Woods ruins strong first round with sloppy finish at PGA Championship
Xander Schauffele makes history in first round of PGA Championship
NFL responds to speculation about Chiefs schedule and Taylor Swift
Despite hopes for change, NASCAR championship weekend will return to Phoenix in 2025
Chiefs will achieve something not done since 1927 with 2024 schedule
Caitlin Clark's debut was most-watched WNBA game in more than 20 years
Yankees' Aaron Judge comments on resurgence after bad slump
Odell Beckham Jr. reveals why he was 'hesitant' to join Dolphins
Lakers reportedly interested in adding three-time All-Star via trade
Luka Doncic fed off negative reactions in Game 5 win over Thunder
Celtics finally put away undermanned Cavaliers, advance to conference finals
Avalanche force Game 6 with big third period vs. Stars

Want more Tennis news?

Join the hundreds of thousands of fans who start their day with Yardbarker's Morning Bark, the best newsletter in sports.