Summer McIntosh made her case for the best female freestyle swimmer in the world on Tuesday.

The 16-year-old Canadian set a world record in the women’s 400m freestyle in Toronto. She competed in the Canadian Swimming Trials at the Pan Am Sports Center and finished the event with a time of 3:56.08. She edged out Australia’s Ariarne Titmus, who set the record last year in 3:56.40.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

Summer McIntosh is announced before competing in the women’s 800m freestyle final on Day 3 of Stage 3 of the 2022 FINA Swimming World Cup at the Indiana University Natatorium on November 5, 2022 in Indianapolis. (Maddie Meyer/Getty Images)

«For the last few years I’ve put my life into this,» McIntosh said. «To achieve something like this, it was so unexpected. I never dreamed of doing this tonight or even a few years ago. This just blows my mind.»

McIntosh was competing in the trials to see who would represent Canada at the world championships in Japan this year, as well as the Pan American Games in Chile.

Summer McIntosh competes in the women's 200m backstroke during the Toyota US Open at the Greensboro Aquatic Center on December 3, 2022 in Greensboro, North Carolina.

Summer McIntosh competes in the women’s 200m backstroke during the Toyota US Open at the Greensboro Aquatic Center on December 3, 2022 in Greensboro, North Carolina. (Jared C. Tilton/Getty Images)

The teen sensation is building momentum for a potential epic performance at the 2024 Paris Olympics, where she could face off against Titmus and American superstar Katie Ledecky.

FORMER NCAA SWIMMER STILL UPGRADED ABOUT LIA THOMAS REACHING 500 FINALS AT 2022 CHAMPIONSHIPS

McIntosh made her Tokyo Olympics debut in 2021 when she was just 14 years old.

He has already won gold medals at the World Championships and the Commonwealth Games.

McIntosh was also named Canada’s 2022 Swimmer of the Year last week. She told Swimming Canada that she and her coaches began focusing on distance swimming in the last year with an emphasis on the individual butterfly and medley races.

Summer McIntosh reacts after winning the women's 400m individual medley final during the Toyota US Open Championships at the Greensboro Aquatic Center on December 2, 2022 in Greensboro, North Carolina.

Summer McIntosh reacts after winning the women’s 400m individual medley final during the Toyota US Open Championships at the Greensboro Aquatic Center on December 2, 2022 in Greensboro, North Carolina. (Jared C. Tilton/Getty Images)

She added that she strives to be as perfect as possible in the pool.

CLICK HERE TO GET THE FOX NEWS APP

«I’m motivated to be the best I can be. I don’t know what that is, but I love this game so much. I have so much passion and love for it that I’m willing to do whatever it takes to be the best.» the best I can be, achieve what I can and leave my legacy in my favorite sport,» he said.

Associated Press contributed to this report.