Rafael Nadal is into the last 16 of the Madrid Open after a hard-fought victory over Argentina's Pedro Cachin.
The Spaniard, 37, came through 6-1 6-7 (5-7) 6-3 after three hours and six minutes on court.
Five-time champion Nadal is playing on the Madrid clay for the final time, in what he expects to be the last season of his career.
Nadal will play 30th seed Jiri Lehecka of the Czech Republic on Tuesday for a place in the quarter-finals.
But Great Britain's Cameron Norrie is out after losing to fifth seed Casper Ruud in straight sets.