Kevin Harvick held off a charging Carl Edwards to pinch victory in the NASCAR Sprint Cup at Phoenix in one of the closest finishes in history.
Harvick was forced to defend his lead in overtime on old tyres, and after a lot contact he snuck over the line to win what was his 500th consecutive NASCAR start.
Daytona 500 winner Denny Hamlin came third ahead of Kyle Busch, while Dale Earnhardt Jr slumped from second to fifth late.
Earnhardt and Harvick stayed out on old rubber while the rest pitted under a caution, leaving them vulnerable at the restart.
But Harvick is a master of Phoenix, and his eighth win at the circuit was hard-fought.
The Stewart-Haas driver, who started 18th, slowly made his way up through the field in the opening part of the race and climbed into the top three on lap 83.
However, he had to be patient as Busch, Edwards and Earnhardt all enjoyed stints in the lead, before he jumped past Edwards on lap 169.
Edwards regained the lead through the pits under caution, but the fast-starting Harvick quickly got back past.
His road to victory looked clear in the final laps until Kasey Kahne's crash caused a caution.
He and second-placed Earnhardt opted to protect what they had and rejected the chance to stop for fresh tyres, bringing Edwards back in contention.
The Joe Gibbs Racing driver surged past Earnhardt, but Harvick kept him at bay despite victory seemingly heading Edwards' way.
Edwards ran consistently high throughout the race after starting second, and he led for 59 laps after getting past Earnhardt on lap 110.
He fell back behind Earnhardt in the final third of the race, but surged past him in overtime in pursuit of Harvick.
Earnhardt had, perhaps, the fastest car on the grid just two days after a poor performance in qualifying, which left him 26th.
He quickly gained places in the early stages, took the lead from polesitter Busch on lap 75 and built a comfortable lead.
But a brake issue in his second stint hampered his charge and saw him fall back through the field, although he recovered well at Phoenix - where he has won three times before.
Busch faded after a promising first half of the race, when he made a mistake in the pitlane.
He overshot his garage and sunk from second to 18th, although he also showed blistering pace to rejoin the top five.
He finished ahead of Earnhardt, his brother Kurt Busch and 2002 Phoenix winner Matt Kenseth.
Jimmie Johnson, who was forced to start last after a crash in qualifying left him in his backup car, finished 11th.
RESULTS - 313 LAPS:
|1||Kevin Harvick||Stewart-Haas Racing||Chevrolet||2h45m53.s|
|2||Carl Edwards||Joe Gibbs Racing||Toyota||0.010s|
|3||Denny Hamlin||Joe Gibbs Racing||Toyota||0.370s|
|4||Kyle Busch||Joe Gibbs Racing||Toyota||0.478s|
|5||Dale Earnhardt Jr.||Hendrick Motorsports||Chevrolet||0.647s|
|6||Kurt Busch||Stewart-Haas Racing||Chevrolet||0.705s|
|7||Matt Kenseth||Joe Gibbs Racing||Toyota||1.065s|
|8||Chase Elliott||Hendrick Motorsports||Chevrolet||1.272s|
|9||Austin Dillon||Richard Childress Racing||Chevrolet||1.429s|
|10||Ryan Blaney||Wood Brothers Racing||Ford||1.535s|
|11||Jimmie Johnson||Hendrick Motorsports||Chevrolet||1.718s|
|12||Kyle Larson||Chip Ganassi Racing||Chevrolet||2.051s|
|13||Aric Almirola||Richard Petty Motorsports||Ford||2.571s|
|14||Martin Truex Jr.||Furniture Row Racing||Toyota||2.725s|
|15||Ty Dillon||Stewart-Haas Racing||Chevrolet||2.764s|
|16||Jamie McMurray||Chip Ganassi Racing||Chevrolet||2.914s|
|17||A.J. Allmendinger||JTG Daugherty Racing||Chevrolet||5.686s|
|18||Joey Logano||Team Penske||Ford||1 Lap|
|19||Danica Patrick||Stewart-Haas Racing||Chevrolet||1 Lap|
|20||Matt DiBenedetto||BK Racing||Toyota||1 Lap|
|21||Greg Biffle||Roush Fenway Racing||Ford||1 Lap|
|22||Kasey Kahne||Hendrick Motorsports||Chevrolet||1 Lap|
|23||Trevor Bayne||Roush Fenway Racing||Ford||2 Laps|
|24||David Ragan||BK Racing||Toyota||4 Laps|
|25||Landon Cassill||Front Row Motorsports||Ford||5 Laps|
|26||Michael McDowell||Circle Sport-Leavine Family Racing||Chevrolet||5 Laps|
|27||Brian Scott||Richard Petty Motorsports||Ford||5 Laps|
|28||Regan Smith||Tommy Baldwin Racing||Chevrolet||5 Laps|
|29||Brad Keselowski||Team Penske||Ford||6 Laps|
|30||Chris Buescher||Front Row Motorsports||Ford||6 Laps|
|31||Clint Bowyer||HScott Motorsports||Chevrolet||6 Laps|
|32||Joey Gase||Go FAS Racing||Ford||8 Laps|
|33||Michael Annett||HScott Motorsports||Chevrolet||10 Laps|
|34||Josh Wise||The Motorsports Group||Chevrolet||10 Laps|
|35||Casey Mears||Germain Racing||Chevrolet||45 Laps|
|36||Cole Whitt||Premium Motorsports||Chevrolet||Overheating|
|37||Ricky Stenhouse Jr.||Roush Fenway Racing||Ford||Accident|
|38||Paul Menard||Richard Childress Racing||Chevrolet||Accident|
|39||Ryan Newman||Richard Childress Racing||Chevrolet||Accident|