Serena Williams set up a quarterfinal meeting with Maria Sharapova at the Madrid Open with a convincing demolition of sixth seed Caroline Wozniacki.

Madrid - Serena Williams overcame a lethargic start to upset fellow former world number one Caroline Wozniacki on Thursday, setting up a quarter-final meeting with old foe Maria Sharapova at the Madrid Open.

The ninth seed powered to a 1-6 6-3 6-2 victory over the Dane, clubbing a blistering 43 winners to reach the last eight in the Spanish capital for the first time.

"I had a really slow start today, I don't know why," Williams told a news conference.

"I was just a little sluggish, mentally I was fighting some demons, maybe.

"The first set was not me at all. I haven't been playing like that and I just thought I got do to better than this and I started just to try to play my game."

Wozniacki, who beat Williams for the first time in four attempts at the Sony Ericsson Open in Miami earlier this year, started strongly but lost control of the match in the second set.

The American broke Wozniacki's first service game in the third set and, with the sliding roof open over the sun-drenched Manolo Santana centre court, tightened her grip.

The 2009 runner-up in Madrid saved a first match point with a fizzing crosscourt shot but was helpless at the second as Williams wrong-footed her with another powerful drive.

The controversial, blue clay surface, however, did not seem to be a problem for Williams.

"This clay is a little slippery," she added. "I feel a little bit like an ice-skater out here, but actually I can ice-skate so it's not a bad thing. I think I can play on any court."

Williams will meet second seed Sharapova, another former number one, who progressed without hitting a shot in the morning after unseeded Czech Lucie Safarova pulled out with a gastro-intestinal illness.

"She is doing really well," Williams said of her next opponent, whom she has beaten in their last six meetings.

"She does have the upper hand going into tomorrow's match, she has the momentum after winning (in Stuttgart) last month. So I'm just going out there with nothing to lose."

Wozniacki, still seeking her first title in 2012, had few complaints at the result.

"Williams is a great opponent but to be honest I am just happy that my foot's feeling better, you know I hurt it in the first match," she said.

"I think I can take a lot of confidence from this match leading into the French Open, which is coming up soon."

The winner between Williams and Sharapova will meet either fifth seed Samantha Stosur or Czech qualifier Lucie Hradecka in the semifinals.

The 26-year-old Hradecka, who stunned third seed Petra Kvitova in the second round, beat Russia's Ekaterina Makarova 6-2 7-6 to reach the quarter-finals.

Poland's Agnieszka Radwanska, who climbed to world number three this week, won 7-6 6-4 over Italy's Roberta Vinci.

The fourth seed will meet either Varvara Lepchenko or Anna Medina Garrigues, who were playing later on Thursday, in her quarter-final. – Reuters