HAMPTON, Ga. — Kevin Harvick completed his weekend mastery of Atlanta Motor Speedway by holding off Brad Keselowski on Sunday in the rain-delayed NASCAR Monster Energy Cup race.

Harvick, who was dominant Saturday in winning the second-tier Xfinity event, started fourth in the Cup race and quickly proved he had the car to beat.

Harvick was comfortably in the lead when Trevor Bayne’s engine blew with 28 laps to go. The restart gave contenders a chance to grab the lead, but Harvick beat Keselowski to remain in control.

“What a relief,” Harvick told his crew after crossing the finish line. He led 292 laps in Atlanta last year before finishing ninth following a pit road speeding penalty.

The start was delayed 2 hours, 30 minutes by rain. The threat of more rain added urgency in the late battle for the lead. There were reports of drops of rain with more than 130 laps remaining, leading to increased concerns the race could end early.

Clint Bowyer was third, followed by Denny Hamlin.

Harvick quickly moved from 19th back to the lead following a green flag pit stop early in the race and again quickly moved back to the lead following a pit stop on lap 252.

He took the lead following a competition caution on lap 30 and stayed in front to take the first stage win. Harvick’s crew had difficulty during his pit stop following the first stage, and he had lost ground when he returned to the pit.

Harvick was 19th following the unscheduled pit stop and returned to the lead on lap 131 before Brad Keselowski won stage 2.

Harvick’s No. 4 Ford has become a familiar figure in the lead at Atlanta. He led 141 of 163 laps Saturday for his Xfinity win after his strong performance in last year’s Cup race.

Despite that recent dominance, this was only Harvick’s second Cup win in Atlanta. He also won in 2001, giving the Richard Childress team a win following the death of Dale Earnhardt in Daytona a few weeks earlier. Harvick was given a new No. 29 in Earnhardt’s car. Following the win, Harvick held three fingers out of the window in tribute to Earnhardt.

Harvick duplicated that three-finger salute after Sunday’s win.

Rookie Darrell “Bubba” Wallace Jr., coming off a second-place finish at last week’s Daytona 500, finished 32nd. Wallace was the first black driver in the Daytona 500 field since 1969, and he became the first black Cup racer in an Atlanta race since Bill Lester finished 38th in 2006.

Martin Truex Jr., the 2017 series champion, started 35th after failing to qualify on Saturday but was up to fourth by the 12th lap before finishing fifth.

Jimmie Johnson, who won in Atlanta in 2015 and 2016, finished 27th. There were no wrecks but there was a caution after Johnson’s spin in turn 2 on lap 160.

With no “open” cars, the 36-car field was NASCAR’s smallest since 1996. There were 40 cars in the Daytona field.

Sunday

At Atlanta Motor Speedway

Atlanta

Lap length: oval, 1.5 miles

(Starting position in parentheses)

1. (3) Kevin Harvick, Ford, 325.

2. (5) Brad Keselowski, Ford, 325.

3. (9) Clint Bowyer, Ford, 325.

4. (12) Denny Hamlin, Toyota, 325.

5. (35) Martin Truex Jr., Toyota, 325.

6. (16) Joey Logano, Ford, 325.

7. (1) Kyle Busch, Toyota, 325.

8. (7) Kurt Busch, Ford, 325.

9. (8) Kyle Larson, Chevrolet, 325.

10. (27) Chase Elliott, Chevrolet, 325.

11. (10) Erik Jones, Toyota, 325.

12. (26) Ryan Blaney, Ford, 325.

13. (11) Aric Almirola, Ford, 325.

14. (25) Austin Dillon, Chevrolet, 324.

15. (4) Daniel Suarez, Toyota, 324.

16. (6) Ricky Stenhouse Jr., Ford, 324.

17. (15) Paul Menard, Ford, 324.

18. (23) William Byron ?, Chevrolet, 323.

19. (13) Jamie McMurray, Chevrolet, 323.

20. (18) Alex Bowman, Chevrolet, 322.

21. (14) Kasey Kahne, Chevrolet, 322.

22. (2) Ryan Newman, Chevrolet, 322.

23. (29) David Ragan, Ford, 321.

24. (17) Michael McDowell, Ford, 321.

25. (24) Chris Buescher, Chevrolet, 321.

26. (28) Ty Dillon, Chevrolet, 321.

27. (22) Jimmie Johnson, Chevrolet, 321.

28. (32) Cole Whitt, Chevrolet, 320.

29. (21) AJ Allmendinger, Chevrolet, 320.

30. (34) Ross Chastain(i), Chevrolet, 319.

31. (30) Matt DiBenedetto, Ford, 319.

32. (19) Darrell Wallace Jr. ?, Chevrolet, 319.

33. (36) Harrison Rhodes, Chevrolet, 310.

34. (33) Jeffrey Earnhardt, Chevrolet, 305.

35. (20) Trevor Bayne, Ford, Engine, 292.

36. (31) Gray Gaulding Jr., Toyota, Steering, 99.

RACE STATISTICS

Average Speed of Race Winner: 143.068 mph.

Time of Race: 3 hours, 29 minutes, 54 seconds. Margin of Victory: 2.690 seconds.

Caution Flags: 5 for 28 laps.

Lead Changes: 24 among 8 drivers.

Lap Leaders: Kyle Busch 0; R. Newman 1-17; Kyle Busch 18-20; K. Harvick 21-31; Kyle Busch 32; K. Harvick 33-88; M. Truex Jr. 89; B. Keselowski 90-100; Kurt Busch 101-125; K. Harvick 126-127; Kyle Busch 128-131; K. Harvick 132-159; Kurt Busch 160; B. Keselowski 161-172; Kurt Busch 173-198; B. Keselowski 199-213; Kyle Busch 214; D. Hamlin 215-225; K. Harvick 226-252; D. Hamlin 253-265; K. Harvick 266-288; D. Hamlin 289-290; K. Harvick 291-299; J. Logano 300; K. Harvick 301-325.

Leaders Summary (Driver, Times Lead, Laps Led): K. Harvick 8 times for 181 laps; Kurt Busch 3 times for 52 laps; B. Keselowski 3 times for 38 laps; D. Hamlin 3 times for 26 laps; R. Newman 1 time for 17 laps; Kyle Busch 4 times for 9 laps; J. Logano 1 time for 1 lap; M. Truex Jr. 1 time for 1 lap.