(CNN) - It was not a happy return to tennis for Roger Federer in Germany.
In his first competitive match following an eight-week break, the 18-time grand slam champion was beaten by world No. 302 Tommy Haas at the Stuttgart Open.
Federer, who prior to this match had lost only once in 2017, squandered match point as he went on to lose 2-6 7-6 (10-8) 6-4 in the second round to the former world No.2.
It's the first time the 35-year-old Federer has been defeated in his opening match at a grass-court tournament since Wimbledon 2002, when he lost to Mario Ancic.
'Tough to put into words right now'
The 39-year-old Haas, playing in his final season, last beat the Swiss great in 2012, at the Halle final.
In an on-court interview, the German said he was "pretty speechless."
"Playing Roger is always very special, especially on grass, especially here in Germany," he said.
"It's tough to put it in words right now."
The was the oldest singles tie to be played on the Tour since 1982, when 30-year-old Ricardo Cano beat Luis Ayala, 49, in the Vina del Mar.
Federer focusing on grass-court season
Federer had not played since April 2, when he beat reigning French Open champion Rafael Nadal to win the Miami Open.
That was his third major title in a stunning start to the season, having also won the Australian Open in January and in Indian Wells.
He missed the clay-court season to prepare for grass, specifically Wimbledon, which starts at the end of June, a tournament he has won on seven occasions.
- Trump attacks whistleblower in now-removed tweetstorm
- President Trump: ISIS leader Abu Bakr al-Baghdadi is dead
- South African cyclist injured in scuffle with park rangers
- Elon Musk says Las Vegas tunnel hopefully will be operating by 2020
- At least 5 people died in small plane crash near Louisiana airport
- Thai Navy SEAL dies from infection he contracted during cave rescue
- Federal judge denies bid to undo Georgia voter purge
- Trans activist killed in Toronto