Spain's David Ferrer and Feliciano Lopez advanced to the quarterfinals of the Olympic tennis doubles competition on Monday by defeating Austria's Jurgen Melzer and Alexander Peya 6-3, 3-6, 11-9.

"We played very well against some very good rivals. We have adjusted really well. We knew that if the match was even, we would have our chance and that's how it was," Ferrer said.

The Spanish duo needed two hours and 19 minutes to win and keep their hopes alive at the London Olympics.

"It's not bad. We're through two rounds and anything can happen now," Ferrer, who is ranked No. 5 in the world in singles, said.

The Spaniards' next opponent will be the winner of the match between the Swedish doubles team of Johan Brunstrom and Robert Lindstedt, who beat Serbia's Novak Djokovic and Viktor Troicki 7-6, 6-3, and the victor in the match pitting Colombia's Santiago Giraldo and Juan Sebastian Cabral against Croatia's Marin Cilic and Ivan Dodig. EFE