LOUDON, N.H. (AP) -- Kasey Kahne has won his second Sprint Cup race of the season by holding off Denny Hamlin at the New Hampshire Motor Speedway.

Kahne took the lead from Hamlin during a restart on the 240th lap of the 300-lap race at the one-mile oval Sunday. He was helped by miscommunication between Hamlin, who wanted two tires changed, and crew chief Darian Grubb, who thought he wanted four.

That longer pit stop left Hamlin in 13th place, but he kept passing cars until only Kahne remained in front. But Kahne stayed ahead and won by about 10 car lengths.

It was Kahne's 14th win of his career and first since May 27 at Charlotte. Clint Bowyer, Dale Earnhardt Jr. and Brad Keselowski rounded out the top five.

SI Apps
We've Got Apps Too
Get expert analysis, unrivaled access, and the award-winning storytelling only SI can provide - from Peter King, Tom Verducci, Lee Jenkins, Seth Davis, and more - delivered straight to you, along with up-to-the-minute news and live scores.