Updated

Rafael Nadal fought back to beat David Ferrer 4-6, 7-6 (3), 6-0 in Friday's quarterfinals of the Madrid Open, keeping alive his bid to reach a seventh straight final since returning from injury.

In a meeting of Spain's top ranked players, Ferrer's baseline game on the red clay almost proved too much for the fifth-seeded Nadal.

But Nadal held on to force a third set and won six straight games to improve his career record against Ferrer to 18-4.

Nadal will play either Pablo Andujar or Kei Nishikori of Japan in the semifinals.

The Spaniard has won four titles this year since being sidelined for several months with tendinitis in his left knee.