nadal-110317-584

Rafael Nadal reaches to return a shot during his quarter-final win over Ivo Karlovic. ((Gabriel Bouys/AFP/Getty Images))

Top-ranked Rafael Nadal defeated big-serving Ivo Karlovic 5-7, 6-1, 7-6 (7) to reach the BNP Paribas Open semifinals for the sixth consecutive year on Thursday night at Indian Wells, Calif.

Nadal won on his third match point after Karlovic's forehand sailed long. Nadal shook hands and ran back on the court, leaping in the air, tossing his sweatbands into the crowd and pumping his fist.

"The match was the first one that I felt really that even if I play well, I can lose," said Nadal, who had been bothered by a left thigh injury recently. "That's always hard to go on court with this feeling."

He will play Juan Martin del Potro in Saturday's semifinals in pursuit of his third Indian Wells title. Del Potro advanced when 25th-seeded Tommy Robredo withdrew before their quarter-final because he strained a left abductor muscle a day earlier.

Nadal led 5-2 in the tiebreaker before Karlovic tied it up with a backhand volley winner. Karlovic came up with the same shot to spoil Nadal's first match point.

Nadal set up his second match point with a forehand that landed just inside the sideline, but his forehand error allowed Karlovic to tie it 7-all. Nadal's forehand winner in the corner gave him a third match point and he finally converted on Karlovic's error.

Karlovic had hardly been playing like his No. 239 ranking. He beat three seeded players to reach the quarter-finals, and pushed Nadal before losing to him for the fourth time.

On the women's side, top-ranked Caroline Wozniacki reached the semifinals when Victoria Azarenka retired with a hip injury while trailing 3-0 in the first set.

Wozniacki next plays Maria Sharapova, who outlasted Peng Shuai 6-2, 5-7, 6-3 to reach her first semifinal of the year after missing the last five weeks with a viral illness.

Sharapova needed more than two hours to overcome Peng in a match that featured 13 service breaks. They traded breaks in the first four games of the third set. Serving at 3-2, Sharapova won the final four games of the match, clinching it with an inside-out forehand off Peng's second serve.

"I was playing really well for the first set and a half and then really let her back in the game," said Sharapova, who had 13 double faults. "She's a really aggressive player and puts a lot of pressure on from you the first point, and if you're not the one doing that it becomes dangerous. The most important thing is I got myself together and I focused and regrouped."

Wozniacki broke for a 2-0 lead after the first two games went to deuce. She was leading 30-0 in the third game when Azarenka called for a trainer.

Azarenka lay on the court and had her upper left thigh massaged before she took a 10-minute medical timeout. While she was gone, Wozniacki went behind a wall on court to stretch her legs and talk to her coach.

Azarenka returned with her left thigh wrapped. Wozniacki resumed serving and won the next two points to go up 3-0 before Azarenka signalled she was done.

They hugged at the net and Wozniacki patted Azarenka on the shoulder.

"Victoria is one of my best friends on the tour, and to see her in pain on the court and to see her get injured was not nice for sure," Wozniacki said.

During their match, a Japanese flag was tied to the chair umpire's tower and written on it in black marker were the words, 'Our thoughts are with you! Caroline and Victoria.' After Azarenka left, Wozniacki untied it and held it up in tribute to the victims of the recent earthquake and tsunami.

"It's just devastating to see what's going on in Japan," the Dane said. "We just wanted to show that we're thinking about them over there."

Wozniacki had asked her manager to locate a Japanese flag. He finally found one, two hours from Indian Wells.

"I said, 'You better take your car and drive over there and get that flag to me,"' she said, smiling. "Victoria helped me out, what to write. I wanted to do it so perfectly that my hand almost cramped when I was doing it."

By reaching the semifinals for her fourth straight tournament, Wozniacki guaranteed she will retain the No. 1 ranking through the upcoming two-week Sony Ericsson Open in Miami.

Robredo hurt himself in his straight-sets win over Sam Querrey, and an MRI on Wednesday night confirmed the injury, which will keep him out of the Miami tournament.

Del Potro has beaten three seeded players, including defending champion Ivan Ljubicic, to get this far. He's in the semis for his fourth straight tournament after injuries derailed him for much of last year.