Tim Fuller-USA TODAY Sports

Kevin Harvick ended a 65-race winless drought Sunday when he crossed the finish line first at the Firekeepers Casino 400 at Michigan International Speedway in Brooklyn, Mich.

Harvick needed to win a race to grab a berth for the NASCAR Cup Series playoffs, and he did just that, beating out polesitter Bubba Wallace by 2.903 seconds.

"Really proud of everybody on our (team)," the 46-year-old Harvick said. "Digging along all year long trying to make these Mustangs run faster. They haven't been great this year. But our guys are doing a good job in trying to take what we have, maximize it and do the things that we need to do."

Harvick led 38 laps, but the key moment for his victory came late in the race during a caution. Ross Chastain and Christopher Bell had a collision, bringing out the yellow flag, and Harvick stayed out to take over the top spot.

Denny Hamlin made a push off pit road, but one of his pit crew stepped onto pit road, leading the driver to be penalized. Harvick took things from there.

Hamlin finished third, with Joey Logano and Ryan Blaney rounding out the top five.

Harvick, a veteran of the Cup Series and its 2014 champion, earned his first checkered flag since Bristol Motor Speedway in September 2020. It was Harvick's 59th career victory and his sixth at Michigan.

"Everybody who doubted us doesn't know us," Harvick said. "They obviously know that we thrive in these types of situations."

Wallace won his first career pole during Saturday's qualifying. He led 22 laps of the race.

Bell took the opening stage and Hamlin won Stage 2, tying Harvick with 38 total laps led.

Martin Truex Jr., Kyle Larson, Erik Jones, Alex Bowman and Ty Gibbs finished sixth through 10th. Gibbs earned his first top-10 in just the third start of his career.

More must-reads:

TODAY'S BEST
Mavericks advance to Western Conference Finals aided by controversial call late
Connor McDavid, Oilers hammer Canucks to force Game 7
Tyson Fury-Oleksandr Usyk epic increases excitement for potential rematch
Seize the Grey wins in muddy Preakness
Even Mike Budenholzer admits the Suns need a point guard
Watch: Juan Soto's first multi-homer game as a Yankee
Xander Schauffele, Collin Morikawa lead at PGA Championship
Knicks could get major boost for Game 7 showdown with Pacers
Giants All-Star pitcher suffers setback in recovery from injury
Panthers star named winner of 2024 Selke Trophy
WNBA to investigate $100,000 sponsorship deals for Aces players
Tiger Woods blames one big factor for missing the cut at PGA Championship
'Ain't good enough': Draymond Green claims Celtics must 'win it all' or it's a 'failure'
Blue Jays GM wants struggling club to feel 'massive sense of urgency'
Raptors expected to flip former NBA champion during the offseason
MLB insider reveals Mets' massive extension offer that Pete Alonso turned down
Celtics legend provides update after gruesome finger injury
Bulls hire former NBA head coach as top assistant
Chiefs move on from young running back
20-year MLB veteran working out, unsure about playing future