Defending champion Novak Djokovic defeated Spain's Guillermo Garcia-Lopez 4-6, 6-3, 6-1 to reach the Monte Carlo Masters semi-finals on Friday.
Djokovic, the second seed, looked to be heading towards the same possible upset fate which befell eight-time champion Rafael Nadal earlier in the day when the Spaniard lost to David Ferrer 7-6 (7/1), 6-4.
But Djokovic held his nerve, saving two key break points in the seventh game of the second set to turn the tide against the winner of the Casablanca claycourt title last weekend.
Djokovic will face off in a Saturday semi-final against Roger Federer, whom he beat in last month's Indian Wells final but lost to in Dubai in February. Federer earlier beat Jo-Wilfried Tsonga of France 2-6, 7-6, 6-1 in a close three-setter.