Caroline Wozniacki dug herself out of trouble to get through the third round at Wimbledon on Saturday when she was pushed to the brink by Anett Kontaveit.
The Danish fifth seed beat the world number 38 from Estonia 3-6, 7-6 (7/3), 6-2.
"She was playing really well and I wasn't playing my best tennis," Wozniacki said.
"It just wasn't going my way. I didn't feel myself out there. I just went for it, I had nothing to lose and I got a little lucky."
The former world number one faces US 24th seed Coco Vandeweghe in the fourth round on Monday for a place in the quarter-finals.