FONTANA >> The sun peeked out before John Hunter Nemechek picked up the last win under the lights at Auto Club Speedway.

Nemechek, who finished second in the season opener last week at Daytona, pulled away late in his No. 20 Joe Gibbs Racing Toyota Supra to claim the checkered flag at the rain-delayed NASCAR Xfinity Series Production Alliance Group 300 on Sunday night.

“It’s awesome that the race got pushed (to Sunday) and that I am the final winner,” Nemechek said. “It’s an amazing track. I hate to see it go.”

Originally set for Saturday, the Xfinity Series race was rescheduled to immediately following the Cup Series Pala Casino 400, making it the final race on Fontana’s famous 2-mile track.

“To be the final winner here means a lot,” Nemechek said. “Maybe when they tear this place up they’ll send me some asphalt as a momento.”

It’s the third career win for Nemechek, the son of retired NASCAR veteran Joe Nemechek, who won the first ever pole at California Speedway in 1997. It’s also the 11th win for Joe Gibbs Racing at Fontana.

“To be able to do some of the stuff my Dad did was special,” Nemechek said. “I’m proud to be a part of this organization and we’re starting the year off right. Now we have to keep it going.”

Sam Mayer finished second, Justin Allgaier took third and Chandler Smith was fourth.

“I was leading the race last week and I ended up on my roof, so I’m super happy to be top 3 this week,” said Mayer, who flipped on the Final Lap of the Xfinity Series race last week at Daytona.

In a race littered with 10 cautions, Mayer and Tyler Reddick made contact on Lap 1 to set an early tone.

“We threw the kitchen sink at it and we ended up second. I’m proud of that,” Mayer said.

Orange County native Cole Custer, winner of Xfinity Series races at Fontana in 2019 and 2022, took the lead on Lap 25 and held to win Stage 1.

Sheldon Creed was spun and smoothly kissed the wall early in Stage 2, and Custer controlled lap after lap to win again and claim his 19th career Xfinity Series stage.

Custer started sixth in the final stage but the right front tire on his No. 00 Ford Mustang went soft on the restart and he was pushed against the wall, finishing 27th.

After the restart, Nemecheck battled with Creed and Sammy Smith for the lead before Reddick was smashed up against the wall with 50 laps remaining.

Scheduled pit stops from the leaders with 25 laps to go gave Austin Dillon a brief lead but a ninth caution reset the field for a final run. Smith was pushed sideways by Austin Hill on the ensuing restart, and Dillon faded as Nemechek proved to be too much.