Britain's Harriet Dart recovered from a poor start and a mid-match dip to beat China's Zhang Shuai and reach the last 16 of the Eastbourne International.
Dart, 26, trailed 3-0 but fought back to win 7-5 6-7 (5-7) 6-1 in blustery conditions against an opponent 105 places above her in the world rankings.
She will play either two-time Wimbledon champion Petra Kvitova or former French Open winner Jelena Ostapenko.
"That was a rollercoaster and I'm happy to close it out," said Dart.
"I was not just playing my opponent, but playing myself at times. The conditions were really tough, the wind was going everywhere and it took a while to adapt to it.