Jeff Gordon scored his first Sprint Cup victory of the season Saturday, leading the final nine laps of the 5-Hour Energy 400 at Kansas Speedway.

The four-time series champion's No. 24 Chevrolet inherited the lead when Brad Keselowski pitted for fuel under green. Gordon fended off Kevin Harvick by 0.112 seconds for his 89th win in NASCAR's premier series. He became the ninth winner of 2014, effectively clinching a berth in the Chase for the Sprint Cup.

Kasey Kahne finished third, followed by Joey Logano and Dale Earnhardt Jr.

Carl Edwards, Danica Patrick, Aric Almirola, Jimmie Johnson and Matt Kenseth rounded out the top 10.

"I knew we had a fast race car. We've had a fast race car every single week. And that's just given me so much confidence," Gordon said after climbing from his car.

"Kevin was tough. He was so strong. I did not know if I could hold him off and I almost didn't there at the end.

"This is so sweet. What a huge weight lifted off this team's shoulders."

GORDON: Reflects on 20th anniversary of first Cup win

Harvick, who already has two wins this season, closed the gap quickly on Gordon on the final lap but couldn't quite catch him. He led a race-high 119 of 267 laps and took the blame for giving away the win by being too slow on his final green-flag stop

"I ran out of gas coming down pit road and I didn't get out of the pits very well. And he was able to get ahead of me there," Harvick said.

"I slipped a little with 10 or 11 laps to go, but was able to make it up again in the closing laps. Just not enough. It was just a weird night for sure."