During the week, Sammy Smith is a high school student taking classes online to make sure he gets his high school diploma, but when the weekends hit, he is racing against some of the best drivers.

The 18-year-old took it to another level on Saturday when he picked up his first NASCAR Xfinity Series win. Smith held off Ryan Truex and Sheldon Creed to head to Victory Lane in the United Rentals 200 at Phoenix Raceway.

CLICK HERE FOR MORE SPORTS COVERAGE ON foxnews.1eye.us

Kyle Busch races Sammy Smith

Kyle Busch, driver of the #10 LA Golf Chevrolet, Sammy Smith, driver of the #18 Pilot Flying J Toyota, and Daniel Hemric, driver of the #11 Cirkul Chevrolet, race during the NASCAR Xfinity Series United Rentals 200 at Phoenix Raceway on March 11, 2023 in Avondale, Arizona. (Meg Oliphant/Getty Images)

Smith led 92 of the 200 laps and captured the lead from Kyle Busch on Lap 149.

"That was tough with all of those restarts – and going against some of the best," he said after the race, via NASCAR.com. "I just have to thank everybody on Pilot/Flying J, Toyota, JGR guys and everybody on this 18 team for giving me an awesome car. This is awesome.

Sammy Smith races to the line

Sammy Smith, driver of the #18 Pilot Flying J Toyota, receives the checkered flag after winning the NASCAR Xfinity Series United Rentals 200 at Phoenix Raceway on March 11, 2023 in Avondale, Arizona. (Chris Graythen/Getty Images)

"This is a dream come true, and I did know that at some point this was coming. It took a lot of hard work and a lot of great people around me. Without all of these guys, I wouldn’t be here."

WILLIAM BYRON DOMINATES AT LAS VEGAS, SECURES FIRST NASCAR WIN OF SEASON

Sammy Smith crosses the line

Sammy Smith, driver of the #18 Pilot Flying J Toyota, takes the checkered flag to wing the NASCAR Xfinity Series United Rentals 200 at Phoenix Raceway on March 11, 2023 in Avondale, Arizona. (Chris Graythen/Getty Images)

Riley Herbst and Chandler Smith finished fourth and fifth respectively.

It was the 16th time JGR Motorsports has won the Xfinity Series in Phoenix. It was the sixth consecutive year with six different drivers – Christopher Bell (2018), Busch (2019), Brandon Jones (2020), Daniel Hemric (2021) and Ty Gibbs (2022).

Sammy Smith holds the trophy

Sammy Smith, driver of the #18 Pilot Flying J Toyota, is presented the United Rentals 200 trophy in victory lane after winning the NASCAR Xfinity Series United Rentals 200 at Phoenix Raceway on March 11, 2023 in Avondale, Arizona. (Meg Oliphant/Getty Images)

CLICK HERE TO GET THE FOX NEWS APP

Smith is also the youngest Xfinity Series winner at Phoenix.

The Associated Press contributed to this report.