PHOENIX — Bothersome blisters aside, Rich Hill’s first three starts in a Los Angeles Dodgers uniform were smashing successes.

The fourth, not so much.

Mitch Haniger hit a three-run homer in a five-run sixth inning, and the Arizona Diamondbacks beat the NL West-leading Dodgers 7-3 Thursday night.

Archie Bradley (7-9) struck out seven in six-plus innings and got plenty of run support as the Diamondbacks won their fourth straight and handed Hill his first loss with the Dodgers.

The Dodgers had their lead in the division cut to four games when second-place San Francisco beat St. Louis.

The Diamondbacks scored five runs in the sixth off Hill (3-1) and reliever Louis Coleman. Run-scoring singles by Paul Goldschmidt and Brandon Drury preceded Haniger’s second career home run.

Hill, 9-3 with Oakland before being dealt to Los Angeles on Aug. 1, allowed a run for the first time as a Dodger when Kyle Jensen homered off the center-field batter’s eye in the second inning. That ended Hill’s streak of 20 consecutive scoreless innings with Los Angeles.

“The reason we lost is I did not execute,” Hill said. “That is what it came down to, making better pitches. Unfortunately I did not do that. As frustrating as it is, especially at this point of the season, that is unacceptable.”

In his last start, Hill had a perfect game for seven innings against Miami last Saturday before being lifted. He was charged with four runs on four hits in 5 1/3 innings on Thursday.

“He had good fastball command. His breaking ball was good but he left a couple of fastballs out and over that they took advantage of,” Dodgers manager Dave Roberts said. “Actually he threw the ball well, but we really couldn’t get anything together, muster anything together tonight.”

Arizona added to its lead with Chris Owings’ two-out single in the third to drive in Tuffy Gosewich.

Bradley struck out the side in his first two innings and allowed three runs and nine hits. The Dodgers scored twice in the seventh to chase Bradley. A wild pitch allowed Joc Pederson to race home, and Chase Utley doubled in Andrew Toles.

Patrick Corbin earned his first save by pitching three scoreless innings.

“Obviously we’re not in the hunt to win it (the division). They are,” Diamondbacks manager Chip Hale said. “We’re going to do everything we can to beat them.”

BENCHES EMPTY

Both dugouts and bullpens emptied in the top of the fifth after Hill attempted to reach on a bunt attempt. Hill shouted at Bradley as he ran up the first-base line, then gestured at Bradley again after he was thrown out. Bradley shouted back at Hill, and players from both teams streamed onto the field.

Bradley’s pitch to Hill on the bunt was well inside and toward Hill’s hands.

“There was no ill will or anything like that,” Hill said. “Just competitive and got excited. The pitch was supposed to be inside, it just missed. Maybe being a pitcher I got a little to excited.

“It’s my finger, index finger on the bat,” Hill added. “I totally get it as a competitor. You are tying to make a pitch and you miss in. It’s just kind of the heat of the moment.”

It took only a few moments for order to be restored though both benches were warned by home plate umpire Ron Kulpa. The Dodgers proceeded to score their first run after Bradley walked Utley, then with two outs, Justin Turner doubled to the right field wall to drive in Utley.

Hill faced Bradley the very next inning and struck him out looking.

TRAINER’S ROOM

Dodgers: LHP Alex Wood, on the 60-day disabled list with an elbow injury, could soon be activated, but as a reliever. Wood went on the DL on May 31 and made 10 starts before that, going 1-4 with a 3.99 earned run average.

Diamondbacks: Pitcher Rubby De La Rosa will be shut down from pitching in major league games as he looks to overcome an elbow issue that has affected his mechanics and control, even though De La Rosa is physically fine.

UP NEXT

Dodgers: RHP Kenta Maeda (14-9) is already tied for second in wins in a season by a Los Angeles Dodgers rookie. He faces Arizona, against which he faced and won on Sept. 5 at Dodger Stadium.

Diamondbacks: RHP Zack Greinke (12-6) lost to the Dodgers the last time he faced his former team, rocked for eight runs on nine hits including five home runs in Los Angeles. He’s set for his seventh career start against the Dodgers.