TOPSHOT - US player Serena Williams poses with the winner's trophy, the Venus Rosewater Dish, after her women's singles final victory over Germany's Angelique Kerber on the thirteenth day of the 2016 Wimbledon Championships at The All England Lawn Tennis Club in Wimbledon, southwest London, on July 9, 2016. / AFP / GLYN KIRK / RESTRICTED TO EDITORIAL USE        (Photo credit should read GLYN KIRK/AFP/Getty Images)
GLYN KIRK/AFP/AFP/Getty Images
TOPSHOT - US player Serena Williams poses with the winner's trophy, the Venus Rosewater Dish, after her women's singles final victory over Germany's Angelique Kerber on the thirteenth day of the 2016 Wimbledon Championships at The All England Lawn Tennis Club in Wimbledon, southwest London, on July 9, 2016. / AFP / GLYN KIRK / RESTRICTED TO EDITORIAL USE (Photo credit should read GLYN KIRK/AFP/Getty Images)
Now playing
01:38
Serena Williams' quest for a 24th grand slam
MELBOURNE, AUSTRALIA - FEBRUARY 21: Novak Djokovic of Serbia holds the Norman Brookes Challenge Cup as he celebrates victory in his Men's Singles Final match against Daniil Medvedev of Russia  during day 14 of the 2021 Australian Open at Melbourne Park on February 21, 2021 in Melbourne, Australia. (Photo by Cameron Spencer/Getty Images)
Cameron Spencer/Getty Images AsiaPac/Getty Images
MELBOURNE, AUSTRALIA - FEBRUARY 21: Novak Djokovic of Serbia holds the Norman Brookes Challenge Cup as he celebrates victory in his Men's Singles Final match against Daniil Medvedev of Russia during day 14 of the 2021 Australian Open at Melbourne Park on February 21, 2021 in Melbourne, Australia. (Photo by Cameron Spencer/Getty Images)
Now playing
03:44
Novak Djokovic is the no. 1 of number ones
MELBOURNE, AUSTRALIA - FEBRUARY 14: Su-Wei Hsieh of Chinese Taipei celebrates victory in her Women's Singles fourth round match against Marketa Vondrousova of Czech Republic during day seven of the 2021 Australian Open at Melbourne Park on February 14, 2021 in Melbourne, Australia. (Photo by Matt King/Getty Images)
Matt King/Getty Images AsiaPac/Getty Images
MELBOURNE, AUSTRALIA - FEBRUARY 14: Su-Wei Hsieh of Chinese Taipei celebrates victory in her Women's Singles fourth round match against Marketa Vondrousova of Czech Republic during day seven of the 2021 Australian Open at Melbourne Park on February 14, 2021 in Melbourne, Australia. (Photo by Matt King/Getty Images)
Now playing
03:20
Hsieh Su-Wei: Taiwanese tennis star reflects on memorable Australian Open
Serena Williams w/ daughter Olympia
@SerenaWilliams
Serena Williams w/ daughter Olympia
Now playing
00:43
Tennis legend's daughter joins her on the court
Spectators walk into Melbourne Park ahead of the first round matches at the Australian Open tennis championship in Melbourne, Australia, Monday, Feb. 8, 2021.(AP Photo/Andy Brownbill)
Andy Brownbill/AP
Spectators walk into Melbourne Park ahead of the first round matches at the Australian Open tennis championship in Melbourne, Australia, Monday, Feb. 8, 2021.(AP Photo/Andy Brownbill)
Now playing
02:09
Australian Open: Amid pandemic, grand slam begins with 30,000 fans attending
Naomi Osaka, 22, wears a mask bearing the name of Tamir Rice as she walks on court for the final of the US Open on September 12, 2020.
Al Bello/Getty Images North America/Getty Images
Naomi Osaka, 22, wears a mask bearing the name of Tamir Rice as she walks on court for the final of the US Open on September 12, 2020.
Now playing
02:49
Naomi Osaka on raising awareness for racial injustice with her masks
MELBOURNE, AUSTRALIA - JANUARY 31: Nick Kyrgios of Australia reacts during a practice session at Melbourne Park on January 31, 2021 in Melbourne, Australia. Melbourne Park is now out of lockdown mode following the end of the player and support staff quarantine period after arriving in Melbourne on International flights and they can resume a regular practice schedule ahead of lead in tournaments before the 2021 Australian Open. (Photo by Jack Thomas/Getty Images)
Jack Thomas/Getty Images AsiaPac/Getty Images
MELBOURNE, AUSTRALIA - JANUARY 31: Nick Kyrgios of Australia reacts during a practice session at Melbourne Park on January 31, 2021 in Melbourne, Australia. Melbourne Park is now out of lockdown mode following the end of the player and support staff quarantine period after arriving in Melbourne on International flights and they can resume a regular practice schedule ahead of lead in tournaments before the 2021 Australian Open. (Photo by Jack Thomas/Getty Images)
Now playing
04:06
Nick Kyrgios finds another reason to love tennis
MELBOURNE, AUSTRALIA - FEBRUARY 05: General view on court 10 at Melbourne Park on February 05, 2021 in Melbourne, Australia. All matches yesterday were cancelled due to the amount of players and staff that had to undergo Covid19 Tests and Isolation as a result of a Coronavirus community case announced on Wednesday night. Play resumes at Melbourne Park in the lead up to the 2021 Australian Open. (Photo by Jack Thomas/Getty Images)
Jack Thomas/Getty Images AsiaPac/Getty Images
MELBOURNE, AUSTRALIA - FEBRUARY 05: General view on court 10 at Melbourne Park on February 05, 2021 in Melbourne, Australia. All matches yesterday were cancelled due to the amount of players and staff that had to undergo Covid19 Tests and Isolation as a result of a Coronavirus community case announced on Wednesday night. Play resumes at Melbourne Park in the lead up to the 2021 Australian Open. (Photo by Jack Thomas/Getty Images)
Now playing
03:12
Australian Open: With pandemic match-prep done, players are set for the grand slam
MELBOURNE, AUSTRALIA - FEBRUARY 01:  Sofia Kenin of the United States poses with the Daphne Akhurst Memorial Cup after her Women's Singles Final match against Garbine Muguruza of Spain> on day thirteen of the 2020 Australian Open at Melbourne Park on February 01, 2020 in Melbourne, Australia. (Photo by Cameron Spencer/Getty Images)
Cameron Spencer/Getty Images AsiaPac/Getty Images
MELBOURNE, AUSTRALIA - FEBRUARY 01: Sofia Kenin of the United States poses with the Daphne Akhurst Memorial Cup after her Women's Singles Final match against Garbine Muguruza of Spain> on day thirteen of the 2020 Australian Open at Melbourne Park on February 01, 2020 in Melbourne, Australia. (Photo by Cameron Spencer/Getty Images)
Now playing
03:06
Sofia Kenin: 2020 Australian Open champion opens up
Now playing
14:25
Rafael Nadal calls for 'wider perspective' from players ahead of Australian Open
nick kyrgios covid-19 coronavirus australia us open abierto estadounidense tenis deportes cnne vo_00000024.jpg
nick kyrgios covid-19 coronavirus australia us open abierto estadounidense tenis deportes cnne vo_00000024.jpg
Now playing
03:08
Nick Kyrgios embraces role as moral voice on Covid-19
Vasek Pospisil of Canada hits a return against Richard Gasquet of France during the semi-final match of the ATP 250 Sofia Open tennis tournament in Sofia on November 13, 2020. (Photo by NIKOLAY DOYCHINOV / AFP) (Photo by NIKOLAY DOYCHINOV/AFP via Getty Images)
NIKOLAY DOYCHINOV/AFP/AFP via Getty Images
Vasek Pospisil of Canada hits a return against Richard Gasquet of France during the semi-final match of the ATP 250 Sofia Open tennis tournament in Sofia on November 13, 2020. (Photo by NIKOLAY DOYCHINOV / AFP) (Photo by NIKOLAY DOYCHINOV/AFP via Getty Images)
Now playing
04:37
Australian Open: Vasek Pospisil on the hard quarantine for players
An unidentified tennis player exercises in her hotel room in Melbourne in January 17, 2021, where players are quarantining for two weeks ahead of the Australian Open tennis tournament. (Photo by William WEST / AFP) (Photo by WILLIAM WEST/AFP via Getty Images)
WILLIAM WEST/AFP/AFP via Getty Images
An unidentified tennis player exercises in her hotel room in Melbourne in January 17, 2021, where players are quarantining for two weeks ahead of the Australian Open tennis tournament. (Photo by William WEST / AFP) (Photo by WILLIAM WEST/AFP via Getty Images)
Now playing
03:32
Australian Open: Controversy surrounds tournament as players complain of lack of practice
Michael Dodge/Getty Images AsiaPac/Getty Images
Now playing
05:30
Patrick Mouratoglou on Serena Williams, the men's game and the future of tennis
LONDON, ENGLAND - NOVEMBER 22:  Daniil Medvedev of Russia lifts the trophy after winning his singles final match against Dominic Thiem of Austria during day eight of the Nitto ATP World Tour Finals at The O2 Arena on November 22, 2020 in London, England. (Photo by Clive Brunskill/Getty Images)
Clive Brunskill/Getty Images Europe/Getty Images
LONDON, ENGLAND - NOVEMBER 22: Daniil Medvedev of Russia lifts the trophy after winning his singles final match against Dominic Thiem of Austria during day eight of the Nitto ATP World Tour Finals at The O2 Arena on November 22, 2020 in London, England. (Photo by Clive Brunskill/Getty Images)
Now playing
03:08
Daniil Medvedev: ATP Finals champ reflects on biggest win of career
PARIS, FRANCE - OCTOBER 11: Iga Swiatek of Poland poses on the rooftop of les Galeries Lafayettes Rue de la Chaussee d'Antin with the Suzanne Lenglen Cup following her victory in the Women's Singles Final against Sofia Kenin of The United States of America on day fifteen of the 2020 French Open on October 11, 2020 in Paris, France. (Photo by Clive Brunskill/Getty Images)
Clive Brunskill/Getty Images Europe/Getty Images
PARIS, FRANCE - OCTOBER 11: Iga Swiatek of Poland poses on the rooftop of les Galeries Lafayettes Rue de la Chaussee d'Antin with the Suzanne Lenglen Cup following her victory in the Women's Singles Final against Sofia Kenin of The United States of America on day fifteen of the 2020 French Open on October 11, 2020 in Paris, France. (Photo by Clive Brunskill/Getty Images)
Now playing
02:33
Iga Swiatek on winning 2020 French Open
(CNN) —  

Serena Williams won her first US Open title in 1999 and had reached her second final in New York in 2001 – both coming before Caty McNally was born.

The 17-year-old initially gave Williams, 37, a scare Wednesday, in the second round of the US Open. But the 23-time major champion prevailed, advancing with a 5-7, 6-3, 6-1 win in one hour, 54 minutes.

Williams, seeded eighth in the draw, has never lost to a teenager at the US Open. Her record in the US Open second round improves to 19-0.

“I survived tonight,” Williams said on court to ESPN.

McNally, who is from the Cincinnati suburb of Madeira, Ohio, was making her US Open main draw debut. Earlier this summer, she won her first WTA doubles title, with 15-year-old Coco Gauff. The duo had won the US Open girls’ doubles title together in 2018. She’s currently ranked 121st in the world, a career best.

“For me, I think it just shows that I’m capable of playing with the best – I got a set off Serena Williams,” McNally said. “Had her close in the second set, too. Had some chances. For me, it just gives me a lot of confidence, shows me that I can compete out on the biggest stages. Just keep my head down, I’m ready to go back to work.”

On Wednesday, McNally did not look at all fazed under the bright lights of Arthur Ashe Stadium, taking the first set after a late break. Williams fought off the teenager in the second set and then went into cruise control, dropping just five points in the third. She won all 12 of her service points in that final set.

Williams finished the match with a forceful forehand winner and pumped her fist. She had 32 winners, including 10 aces, to 28 unforced errors. Williams also won 81% of points on her first serve.

“I want to be able to win matches where I’m not playing my best, play players who are playing great, be able to come through,” Williams said in her post-match press conference. “I need to be tested, I guess. Sounds scripted. Actually, I’d rather not be tested in every match. But that doesn’t happen, so it’s important for me to have those, like, really rough, rowdy matches. That helps a lot.”

A six-time US Open champion, Williams is seeking her first title in New York since 2014 and her first grand slam title since 2017, when she won the Australian Open while pregnant.

Williams will next face the winner between Karolina Muchova and No. 29 seed Hsieh Su-wei.

“I’m alive,” Williams said to ESPN. “I’m still here.”