Top seed Karolina Pliskova showed steel as she fought off a match point to claim a riveting comeback win and advance to the fourth round of the US Open.
The Czech world number one battled her way past China's Zhang Shuai 3-6 7-5 6-4.
Pliskova, runner-up at Flushing Meadows last year, would have lost her world number one ranking had she been beaten on Arthur Ashe Stadium but instead moved another step closer to a first career grand slam title.
China's Zhang was the more aggressive from the start, frequently rushing to net and stepping into the court to attack Pliskova's second serve.
The strategy paid off as she broke Pliskova in her first two service games to take a 3-1 lead and captured the first set with an emphatic overhead smash.
She continued her fiery play into the second set but was unable to convert a break point and mental lapses started to pile up.
Zhang ended the contest with 46 unforced errors to Pliskova's 38.
She was also undone by the tall, big-serving Czech's nine aces to just one double fault while Zhang hit just two aces and made five doubles.
French Open champion Jelena Ostapenko has been knocked out of the tournament losing 6-3 6-2 to Russian Daria Kasaktina after hitting a massive 38 unforced errors.
The Latvian 12th seed, who broke into the limelight in June when she blasted her way to the Roland Garros title, got off to a fast start but the unseeded Kasaktina mixed her game with sliced backhands and chopped forehands to slow her opponent down.
The plan worked as after winning the first three games, Ostapenko grew frustrated and bowed out when she netted a backhand on the second match point at the end of a lung-busting rally.
Ostapenko complained of nausea and illness during the match.