Updated

Joey Logano made a last-lap pass of Jeff Gordon during extra laps Monday after a late caution in a rain-delayed race at Texas, becoming the seventh different winner in as many Sprint Cup races this season,

Logano had a 2.2-second lead on teammate Brad Keselowski and was within a half-lap of taking the white flag, which would have guaranteed no extra laps. But then came the caution for debris after Kurt Busch's car brushed the wall and one of his tires tore apart.

On the ensuing pit stop, Gordon took only two tires and exited first. Both Team Penske drivers took four tires, but Keselowski missed a chance to become the season's first two-time winner when he was penalized for speeding on pit road and finished 15th.

On a restart at lap 262, Logano quickly pulled his Ford away from the field and had a nearly 5-second lead before his last green-flag stop. After the green-white-checkered restart on lap 339, Logano went inside past Brian Vickers and quickly got behind Gordon.

Heading onto the frontstretch, Logano went low and was able to get past Gordon going into the first turn. Kyle Busch finished third ahead of Brian Vickers and rookie Kyle Larson.

Logano, the only driver with top-five finishes in both Texas races last season, got his fourth career victory after leading 108 of 340 laps — six more than scheduled. Team Penske joined Stewart-Haas Racing as the only teams with multiple winners this season.

Dale Earnhardt Jr. finished last in a 43-car field for the first time in seven seasons after driving his car into the rain-saturated infield grass before it shot across the track and slammed into the wall in a fiery crash. He took the blame for the accident on lap 13 that also led to problems for Hendrick Motorsports teammate Jimmie Johnson.

Johnson had damage on the windshield and front left of his No. 48 car from mud and debris after the Earnhardt crash. Johnson was three laps down by time he got back in the race after his team worked on the car, and the defending Sprint Cup champion also had an issue with a right-side tire before finishing 25th.

"I just didn't know I was that close to the grass and made a mistake," said Earnhardt, who wasn't hurt in the crash. He later tweeted: "That wasn't fun. Sorry 2 the fans of the 88 team. Feel bad for my guys and the 48 team also. Made a mistake there that was costly for every1."

The race started with 10 caution laps to make sure the 1½-mile high-banked track was dry and suitable for racing.

There were still jet dryers on the track during those laps, and the high-pressure air from those apparently affected the hood and roof flaps on several cars. Keselowski made four trips down pit road as his crew worked to secure his hood, but he still got to retake his front-row spot next to pole-sitter Tony Stewart for the full green-flag start on lap 11 after NASCAR put the cars in their original starting spots.

Stewart led three times for 74 laps, the first he has led this season. He lost the lead for good when Keselowski passed him through turns 3 and 4 on lap 78, and Stewart finished 10th.

Earnhardt hadn't had a last-place finish since the 2007 fall race at Phoenix, a span of 222 races. But he won the season-opening race at Daytona, and has three other top-three finishes in the first six races this year and arrived in Texas as the points leader.

Watch: Dale Jr. has fiery wreck in Texas race