Coco Gauff rallied to win the final six games of the match and beat Marta Kostyuk 6-4, 7-5 in her round-robin group at the WTA Finals in Indian Wells, California, on Thursday.

Gauff's eventual fate depended on the outcome of fellow American Jessica Pegula's match against Wimbledon champion Linda Noskova later. A victory by Pegula would knock Gauff, her former doubles partner, out and advance Pegula to the semifinals of the season-ending championships.