Roger Federer came from a break down in the final set to defeat Gael Monfils and set up a quarter-final with Dominic Thiem at the Madrid Open.
The 20-time major winner prevailed 6-0, 4-6, 7-6 in a tense third-round encounter at the ATP Masters 1000 event.
He had looked as if he would charge to victory when he went through the first set in just 19 minutes and for the loss of only nine points.
But Monfils broke twice in the second set to force a decider.
Federer, playing his first clay tournament in three years, fell 3-0 down in the final set, but bounced back with a break in the seventh game and then had to hold off two match points in the 12th game before he held his nerve in the tie-break to triumph.
He now faces Thiem on Friday, with the Austrian having beaten Fabio Fognini.

