Roger Federer made a winning return to tennis as he beat Mischa Zverev in the second round of the Mercedes Cup.
Federer won 3-6 6-4 6-2 in Stuttgart after he missed the clay-court season in order to be ready for Wimbledon.
During his two and a half months out, he has dropped to second in the world rankings, behind Spain’s Rafael Nadal.
But the 36-year-old will regain top spot if he reaches the final in Germany and faces either Guido Pella or Prajnesh Gunneswaran in the last eight.
Federer, who has won 20 Grand Slam titles, was playing for the first time since losing to Australia’s Thanasi Kokkinakis in the second round of the Miami Open on 24 March.
The Swiss, who had a bye in the first round, made a poor start against German Zverev, 30, losing his first set on grass since a defeat by Tommy Haas in this competition last year.
But the reigning Wimbledon champion took the second set and broke Zverev’s serve twice in the deciding set to move into the quarter-finals.
This is only the fifth tournament Federer has played this season. He won the Australian Open in January, the ABN Amro World Tennis Tournament in Rotterdam in February and reached the final of Indian Wells in March.
Federer has won Wimbledon eight times and this year’s tournament starts on 2 July.
India’s Gunneswaran, ranked 169th in the world, caused an upset on Wednesday with a 7-6 (8-6) 2-6 6-3 victory over sixth seed Denis Shapovalov of Canada, the world number 23.