WATKINS GLEN, N.Y. — Joey Logano had enough fuel this time.

A week after running out of gas while leading at Pocono with three laps to go, Logano passed Kevin Harvick on the final turn as Harvick ran dry to win the NASCAR Sprint Cup race at Watkins Glen International on Sunday.

Logano completed a weekend sweep after winning the Xfinity race on Saturday and gave Roger Penske his first Cup victory at The Glen. Logano also won the season-opening Daytona 500.

Kyle Busch finished second and moved inside the top 30 in points as he continued his remarkable surge. Harvick coasted home third, Matt Kenseth was fourth, and Kurt Busch fifth. Clint Bowyer, Brad Keselowski, Carl Edwards, Sam Hornish Jr. and Jimmie Johnson rounded out the top 10.

Tony Stewart, who qualified third, was competing at Watkins Glen for the first time after missing the previous two Cup races at the track in the Finger Lakes of upstate New York. He was nursing a broken right leg two years ago and sat out last year’s race after the sprint car he was driving in a race at nearby Canandaigua struck and killed 20-year-old driver Kevin Ward Jr. the night before Stewart was scheduled to race at Watkins Glen.

On Friday, Stewart again had to revisit that tragedy. Attorneys representing the Ward family filed a wrongful death lawsuit against Stewart, another hurdle in what has been a season without much hope until recently, and Sunday marked the one-year anniversary of Ward’s death.

Stewart finished last after his car broke midway through the 90-lap race.

In the last road race of his NASCAR career, Jeff Gordon had brake problems and finished 41st to take another big hit in points.