Brad Keselowski took a second NASCAR Cup win in two races with victory at Indianapolis after passing Denny Hamlin on the penultimate lap.
The Penske driver, who also won last time out at Darlington, made his final stop on lap 143 of 160, just before a caution came out due to debris lying near the start/finish line.
Keselowski had made his way up to third position before the race was suspended again following a collision between Landon Cassill and Jeffrey Earnhardt, and was able to get past Clint Bowyer at the subsequent restart after the Stewart-Haas Racing driver appeared to struggle with wheelspin.
Keselowski and leader Hamlin battled on the penultimate tour, making contact on numerous occasions before Keselowski took first place, holding on over the final lap to win the Brickyard 400.
Joe Gibbs Racing's Erik Jones also passed Hamlin entering the final lap to take second place, with the latter ending up third.
Going into what was the final race of the regular season, all but two playoff places were filled.
Hendrick team-mates Jimmie Johnson and Alex Bowman provisionally held spots but were not certain of progressing ahead of the race, which had been postponed following a cancelled qualifying session due to persistent rain.
But Johnson all but sealed his playoff place when Bowman was caught up in a crash with AJ Allmendinger on lap 67.
However, Bowman still secured the final playoff place as no driver outside of the top 16 in the standings scored a victory that would have meant they jumped ahead of him.
Kevin Harvick finished the race in fourth after a slow final pitstop. Kyle Busch ended the race in eighth, while Furniture Row Racing's Martin Truex Jr crashed out on lap 41 due to a left front brake issue.
Bowyer had run at the front of the field for the majority of the race, winning stage one from Kurt Busch, but his mistake at the final restart bumped him down to fifth position.
Bush came home sixth, while stage two winner Matt Kenseth finished down in 12th after running into issues at his final pitstop.
Results - 160 laps
|1||Brad Keselowski||Team Penske||Ford||3h06m35.s|
|2||Erik Jones||Joe Gibbs Racing||Toyota||0.904s|
|3||Denny Hamlin||Joe Gibbs Racing||Toyota||1.703s|
|4||Kevin Harvick||Stewart-Haas Racing||Ford||1.955s|
|5||Clint Bowyer||Stewart-Haas Racing||Ford||2.413s|
|6||Kurt Busch||Stewart-Haas Racing||Ford||2.797s|
|7||Jamie McMurray||Chip Ganassi Racing||Chevrolet||3.858s|
|8||Kyle Busch||Joe Gibbs Racing||Toyota||4.631s|
|9||Paul Menard||Wood Brothers Racing||Ford||4.632s|
|10||Ryan Newman||Richard Childress Racing||Chevrolet||4.641s|
|11||Ryan Blaney||Team Penske||Ford||4.798s|
|12||Matt Kenseth||Roush Fenway Racing||Ford||4.911s|
|13||Joey Logano||Team Penske||Ford||5.423s|
|14||Kyle Larson||Chip Ganassi Racing||Chevrolet||5.876s|
|15||Chase Elliott||Hendrick Motorsports||Chevrolet||6.264s|
|16||Jimmie Johnson||Hendrick Motorsports||Chevrolet||6.708s|
|17||Michael McDowell||Front Row Motorsports||Ford||7.762s|
|18||Daniel Suarez||Joe Gibbs Racing||Toyota||7.978s|
|19||William Byron||Hendrick Motorsports||Chevrolet||8.964s|
|20||Regan Smith||Leavine Family Racing||Chevrolet||9.015s|
|21||Ty Dillon||Germain Racing||Chevrolet||9.020s|
|22||Austin Dillon||Richard Childress Racing||Chevrolet||9.135s|
|23||Aric Almirola||Stewart-Haas Racing||Ford||1 Lap|
|24||David Ragan||Front Row Motorsports||Ford||1 Lap|
|25||Chris Buescher||JTG Daugherty Racing||Chevrolet||2 Laps|
|26||Ross Chastain||Premium Motorsports||Chevrolet||2 Laps|
|27||Corey LaJoie||TriStar Motorsports||Chevrolet||2 Laps|
|28||Reed Sorenson||Premium Motorsports||Chevrolet||2 Laps|
|29||J.J. Yeley||BK Racing||Toyota||3 Laps|
|30||B.J. McLeod||Rick Ware Racing||Ford||3 Laps|
|31||Landon Cassill||StarCom Racing||Chevrolet||Accident|
|32||Jeffrey Earnhardt||Gaunt Brothers Racing||Toyota||Accident|
|33||Alex Bowman||Hendrick Motorsports||Chevrolet||18 Laps|
|34||Ricky Stenhouse Jr.||Roush Fenway Racing||Ford||Engine|
|35||Timmy Hill||MBM Motorsports||Toyota||Fuel pump|
|36||Matt DiBenedetto||Go FAS Racing||Ford||Rear end|
|37||A.J. Allmendinger||JTG Daugherty Racing||Chevrolet||Accident|
|38||Darrell Wallace Jr.||Richard Petty Motorsports||Chevrolet||Accident|
|39||David Starr||Rick Ware Racing||Ford||Accident|
|40||Martin Truex Jr.||Furniture Row Racing||Toyota||Brakes|
|3||Martin Truex Jr.||2035|