Rafael Nadal reached the quarter-finals of the BNP Paribas Open in Indian Wells after winning the last five games to beat Alexander Zverev 6-7 6-0 7-5.
Nadal faced a match point but the German missed an easy volley - later admitting: "On match point I sucked."
Three-time champion Nadal plays Japan's Kei Nishikori next - and could face Novak Djokovic in the semi-finals.
Serena Williams beat defending champion Simona Halep 6-4 6-3 in the women's draw.
The world number one now plays Poland's Agnieszka Radwanska, who beat Petra Kvitova 6-2 7-6 and will reclaim the world number two ranking when the new list is released on Monday.