INDIAN WELLS, Calif. (AP) Top-ranked Caroline Wozniacki advanced to the BNP Paribas Open semifinals when Victoria Azarenka retired trailing 3-0 in the first set Thursday.

The first two games went to deuce, with Wozniacki earning a service break for a 2-0 lead. 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 talked 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 signaled she was done.