THIS IS A BREAKING NEWS UPDATE. Check back soon for further information. AP's earlier story is below.

MADRID (AP) - Julia Goerges of Germany upset Caroline Wozniacki in a second straight tournament Thursday, ousting the top-ranked Dane 6-4, 1-6, 6-3 in the third round of the Madrid Open.

The 27th-ranked Goerges broke Wozniacki in the eighth game of the deciding set to lead 5-3 before serving out the match.

Goerges rallied from 3-0 down to take the first set after breaking twice. But she lost that momentum as Wozniacki leveled the match with two breaks of her own in the second set.

"The second set she started to be more aggressive and I started to get tired, so I said to myself keep yourself together for the third set and try to fight for every point," said Goerges, who beat Wozniacki in the Porsche Grand Prix final in Stuttgart, Germany, on April 24.

While Goerges hit 38 unforced errors to Wozniacki's 21, she also managed 36 winners to her opponent's 11 on Manolo Santana court.

"I beat her twice and twice in two weeks so I'm pretty proud of myself," Goerges said after the two-hour plus match.

Goerges plays either fifth-seeded Sam Stosur or Anastasia Pavyluchenkova in the next round.

Later, top-ranked men's player Rafael Nadal faces Juan Martin Del Potro while Novak Djokovic looks to maintain his perfect start to the season against Guillermo Garcia-Lopez with a 29th straight victory. The last player to start 29-0 was Ivan Lendl in 1986.

Also, Roger Federer takes on Xavier Malisse while Andy Murray comes up against Brazilian player Thomaz Bellucci with the top-four players all vying for a spot in the quarterfinals.