Originally published Wednesday, June 5, 2019 at 05:41p.m.

PHOENIX (AP) – Extra-inning heroics, a favorable bounce and six innings of scoreless relief helped the Arizona Diamondbacks cool off the Los Angeles Dodgers.

Jarrod Dyson hit a tying double in the eighth inning with the help of Chase Field's new artificial turf, David Peralta had a game-ending single in the 11th, and the Diamondbacks avoided a three-game sweep with a 3-2 victory Wednesday.

"We've been walking through some very lean times. We've been battling through some injuries," Diamondbacks manager Torey Lovullo said. "It's one of those games that you feel like will push you in a very positive direction."

The two-time defending NL champions entered with a season-high, seven-game winning streak and began the day 10½ games ahead of second-place Colorado in the NL West and 13 games in front of the Diamondbacks. The Dodgers, an NL-best 43-20, lost for just the second time in 13 games.

Dyson's tying two-out double hit the lip of the artificial turf where it meets the grass and took a huge bounce over the glove of diving first baseman Max Muncy. Chase Field had grass from the ballpark's opening in 1998 through last year.

Eduardo Escobar tripled off Scott Alexander (3-2) leading off the 11th, Ketel Marte was intentionally walked, and Peralta lined his first pitch to right.

"We needed this win," Peralta said.

Zack Godley (2-4) pitched a perfect 11th for the Diamondbacks, who were outhit 7-5.

Will Smith hit a two-run homer in the third off Jon Duplantier, who allowed three hits over five innings with seven strikeouts in his second big league start.

Merrill Kelly (5-6) is slated to be on the mound Friday as the D-backs travel to Toronto.

Bellinger Shift

Arizona deployed an exaggerated shift to the right side of the field with one strike or two on Cody Bellinger in four of his five at-bats, moving Marte from second base to right field and moving right fielder Tim Locastro closer to the foul line.

Bellinger, whose .370 batting average leads the majors, dropped a single in front of Marte in the sixth inning but was retired in his other three turns at the plate with the shift.