(ATLANTA) — Denny Hamlin is putting forth his best racing at the right time.
Hamlin won the AdvoCare 500 at Atlanta Motor Speedway, beating out Jeff Gordon for his second straight Sprint Cup Race victory.
A caution came out with three laps to go after Jamie McMurray smashed into the wall, and Hamlin took advantage, jumping in front of Martin Truex Jr., who was leading at the time.
Hamlin won his fourth race of the year, narrowly edging Gordon as he crossed the finish line.
“I wanted this one real bad,” Hamlin said. “The car faded a little bit, but the pit crew won me that race. That’s what a championship team is all about. This year, I think we have it all.”
With the win, Hamlin locked up a spot in the 12-driver Chase, which begins after next week’s race at Richmond.
Brad Keselowski finished third, while Truex ending up in fourth. Truex has not won a race since he was victorious at Dover five years ago.
Copyright 2012 ABC News Radio