Serena Williams overcame an injury scare to maintain her pursuit of a record-tying 24th Grand Slam singles title at the US Open on Sunday while Roland Garros champion Ashleigh Barty and Karolina Pliskova crashed out in the last 16.

Williams, a six-time US Open winner, romped to a 6-3, 6-4 victory over Croatian 22nd seed Petra Martic to set up a quarterfinal with China’s Wang Qiang, the conqueror of world No 2 Barty.

The 37-year-old American star required a medical timeout in the second set after rolling her right ankle as she approached the net but promptly recovered to reach the last eight in New York for the 16th time.

Eighth-seeded Williams, who has also suffered knee and back injuries this season, felt a mental setback when it happened but battled through to win.

Williams, who last won a major at the 2017 Australian Open and hasn’t won the US Open since 2014, is seeking a 24th career Slam title to match Margaret Court’s all-time record.

Wang became the first Chinese player to reach the women’s quarterfinals since Peng Shuai made it to the last four in 2014.

Johanna Konta avenged her Rome final loss to Pliskova in May, beating the Czech third seed for just the second time in eight tries, 6-7 (1/7), 6-3, 7-5.

Ukrainian fifth seed Elina Svitolina advanced to her first US Open quarterfinal with a 7-5, 6-4 victory over 2017 runner-up Madison Keys.