Eight-times champion Rafael Nadal was taken to the brink by Bulgarian Grigor Dimitrov before completing a 6-2, 2-6, 6-4 victory on Friday to reach the Monte Carlo Masters semi-finals.
Nadal, who made an unusual number of errors and looked uncomfortable throughout against his 21-year-old opponent, slowly ground him down and fired an ace to clinch his 45th successive victory at the first big claycourt event of the season.
The straight-laced crowd, for once reluctant to support Nadal with Dimitrov threatening to pull off a shock win, stood up to cheer the 34th-ranked Bulgarian as he left the court after a thrilling performance.
World number one Novak Djokovic, still recovering from a sprained ankle, was scheduled to meet Finland's Jarkko Nieminen and seventh seed Richard Gasquet of France faces Italian Fabio Fognini in the other quarter-finals.
Photograph: Eric Gaillard/Reuters
Murray loses in Monte Carlo, Nadal through
Injured Djokovic to play in Monte Carlo
Djokovic battles through pain, Nadal finds it easy
Murray, Serena advance in Miami; Venus withdraws
Federer and Nadal win, Ferrer bows out