(AP) — Martin Truex Jr. pulled away in the final laps Sunday at Phoenix Raceway for his first NASCAR Cup Series victory of the season and 28th overall.

Truex beat the four championship finalists from last year. He had failed to advance into the season-ending finale for the first time in four years and could only watch as Chase Elliott beat Joey Logano, Denny Hamlin, and Brad Keselowski for the title at the desert oval. All four tailed Truex across the finish line.

Phoenix Raceway will again host the championship race in November.

“To come here and win this, I wish it was November,” Truex said. “Hopefully, we can come back in November and have a shot at the championship.”

The 40-year-old Truex struggled earlier this year, finishing 25th at Daytona. But he’s raced much better in recent weeks, finishing third at Homestead and sixth at Las Vegas last week.

He was dominant during the final half Sunday and became the first driver from last year’s 16-car playoff field to qualify for the postseason. Truex blew past Logano on the final restart with 25 laps remaining and was never challenged again.

It was a good day for Toyota and Joe Gibbs Racing, which had the winner in Truex and Hamlin in the third spot.

Kyle Larson — who raced to his first victory with Hendrick Motorsports last week in Las Vegas — had to start at the back of the field after a pre-race inspection failure. He worked his way back to the front and briefly led about halfway through the race.

But soon after he made a critical error, getting flagged for speeding on pit road. He had to pass through pit road as a penalty, causing him to fall to the back of the lead lap in 22nd place. He finished seventh.

Logano — who led 143 laps — won the second stage after leading the final 35 laps during a long stretch of green-flag racing. But he couldn’t hold back Truex, who won his ninth race with Joe Gibbs Racing.

Hamlin was fast early in the race, leading for 31 laps until the competition caution midway through the first stage. But he fell back a few spots after a pit stop that allowed Ryan Blaney a window to get to the front of the field. Blaney won the 75-lap first stage after leading 35 laps.

FANS IN STANDS

Truex enjoyed getting the win in front of some fans in Phoenix. The track allowed about 20% of the grandstand to be filled. Phoenix was the site of the last “normal” race last March before COVID-19 shut down the sport for about two months.

“Most we’ve seen in a while and the more the merrier. We love having them, we miss seeing them, we miss seeing them in the infield, we miss pre-race, we miss practice, we miss qualifying just like everyone else,” Truex said.

NOTES

Six drivers — three from Hendrick Motorsports — had to start at the back of the field, including Elliott, William Byron, Larson, Cody Ware, Quinn Houff, and Garrett Smithley. Larson, Byron, and Ware went to back because of pre-race inspection failures, Elliott and Houff had unapproved adjustments and Smithley was a replacement driver. … Lyn St. James was the honorary starter. St. James is one of just nine women to qualify for the Indianapolis 500.

UP NEXT

NASCAR makes the long trip across the country for a race at Atlanta Motor Speedway next weekend. Kevin Harvick won at the track last season.