Roger Federer beat Milos Raonic to win the Mercedes Cup in Stuttgart, his first event for two and a half months.
The Swiss had not played since the Miami Open in March, after choosing to miss the clay-court season, but the win in Germany gives him a 98th Tour title.
Roger Federer will return to world number one after reaching the Mercedes Cup final in Stuttgart, Germany.
The 20-time Grand Slam winner recovered from losing the opening set to beat Australia's Nick Kyrgios 6-7 (2-7) 6-2 7-6 (7-5).
Roger Federer is one match away from regaining the world number one ranking following his quarter-final victory over Guido Pella at the Mercedes Cup.
The Swiss beat world number 75 Pella 6-4 6-4 in 67 minutes in Stuttgart.