Jamie McMurray, who won his first Sprint Cup race at Charlotte Motor Speedway in 2002, held off a fast-closing Kevin Harvick to win his first Sprint All-Star Race on Saturday night at his favorite track.

His third career win at Charlotte was worth a million dollars.

Pole-sitter Carl Edwards won the race off pit road for the final 10-lap segment, followed by McMurray, Harvick and Matt Kenseth. Edwards and McMurray raced side by side for almost two laps before McMurray was able to grab command as Edwards got sideways and had to slide in behind his Chevrolet rival.

Harvick and Edwards then raced side by side for second for two laps before Harvick won the battle. McMurray was now 1.3 seconds ahead.

Harvick cut into the lead but ran out of time as he finished 0.69 of a second back.

Kenseth was third, followed by Dale Earnhardt Jr., Edwards, Jimmie Johnson, Clint Bowyer, Brian Vickers, Denny Hamlin and Brad Keselowski.

"A million bucks, that's what I kept telling myself (during the last 10 laps)," a jubilant McMurray said.

"For me, in the car, that was as much fun as you can have, a 10-lap shootout, me and Carl going side by side. Carl and I were just going for it.

"What an awesome night. One I will remember for a long, long time."

Harvick said he "probably had the best car, but we just didn't get it done. Just ran out of time. We did all the things we needed to put ourselves in position on the racetrack and just couldn't get it done on pit road tonight. We just didn't make it happen at the end and ran out of time as we got to the closing laps."

Kenseth said, "That last run was by far the best we were since we've been here. I felt like we were kind of struggling to stay in mid-pack most of the race. We made some adjustments and had a really fast pit stop that last stop and the car was better and we were able to hang on to third."

Edwards was "very frustrated" with how the last 10 laps turned out.

"I just went back and watched the replays," Edwards said. "Jamie did a perfect job on the start. I had him cleared for a minute. If I would have pulled in front of him in Turn 1, if I would have gone high, I think we would have won that race, but I was just so reluctant to give up the bottom.

"Jamie did a perfect job. He ended up sweeping around the outside of me, dragging me down, and it was a drag race. My hat is off to him. He did a great job. He earned it. I drove as hard as I could while he was on my outside and he gave me just the right amount of room to not wreck me, but still beat me.

"If I had to do it over again, I'd do it differently, but that's racing. It's a really tough one to lose. That's a tough one to swallow."

Kyle Busch was the leader at the end of the first 20-lap segment. But he dropped back in the pack when he changed four tires while Hamlin elected not to pit and several others including Keselowski and Kurt Busch took on only two tires.

Kyle, attempting to make his way back to the front, tried to make it three wide on lap 26, but Clint Bowyer blocked him. Busch got into the back of Bowyer, who got sideways and clipped Busch as he dived underneath Bowyer. The contact sent Busch spinning and he slammed into Joey Logano to bring out the first yellow flag of the night.

Just as Busch was spinning, pole-sitter Edwards was passing Hamlin for the lead. Edwards led the next nine laps before Kasey Kahne got by him for the lead at the end of the second 20-lap segment.

Kahne also won the third segment, but his victory hopes were erased when he bounced hard off the wall during the fourth segment.

Harvick bumped his way past McMurray to win the fourth 20-lap segment.

Qualifying for the All-Star race is a three-lap affair that includes a four-tire pit stop with no speed limit on pit road. Edwards won the pole for the second straight year with an average speed for the three laps of 146.915 mph. This race is the only time during the season that the format is used.

NOTES: Kurt Busch arrived at Charlotte Motor Speedway with time to spread in his bid to be part of the unique qualifying format for the Sprint All-Star Race. Busch began the day at Indianapolis Motor Speedway, where he made two four-lap qualifying runs. His average speed for the first 10-lap run was 229.256 mph. He upped that time to 229.960 mph before heading for the airport and a flight to Charlotte. "I've qualified a Pro Stock car on the quarter-mile. I've done the longest (and fastest) track on the NASCAR circuit (Talladega), but to do four laps here ... just the shear excitement of trusting a car with downforce going down into turn one at 230 (mph) is indescribable," Busch said. "Qualifying at Indy you have to do it over 10 miles, and you have to do it in the most unnerving conditions with the car' the car is not ready to go 230, but you have to handle it. It's been an experience -- the month of May in an IndyCar." Busch will return to Indianapolis on Sunday for the final qualifying session that will determine the starting lineup for the Indianapolis 500. Busch is trying to become the fourth driver to run both the 500 and the Coca-Cola 600 on the same day.