(CNN) A tournament that began in defeat for Coco Gauff ended with the popular teen claiming her first tennis title.

The 15-year-old from Florida became the youngest WTA winner since Nicole Vaidisova in 2004 when she downed 2017 French Open champion Jelena Ostapenko 6-3, 1-6, 6-2 in Linz, Austria, on Sunday.

Gauff lost in the qualifying rounds but still made the tournament's main draw after another player pulled out with an injury. She then proceeded to reach her first quarterfinal, get her first top-10 win and bag her first title.

"I'll definitely remember this moment for the rest of my life," Gauff told the crowd.

Gauff had to wait to fully celebrate because the final point ended on an Ostapenko challenge. But once the match was official she raised her arms in celebration and let out a big smile as she looked at her box, where dad Corey and mom Candi were watching.