LOS ANGELES ― Trea Turner hit an unremarkable ground ball to the right side of second base in the sixth inning Wednesday night. The Arizona Diamondbacks’ second baseman, Andrew Young, fielded the ball and threw it to first base in a fluid motion. The throw was true.

Unfortunately for the Diamondbacks, no body in motion is more fluid than Turner sprinting on a baseball diamond. He beat the throw, Matt Beaty ran home from third base, and the Dodgers had a valuable insurance run en route to a 5-3 victory before an announced crowd of 46,520 at Dodger Stadium.

The win allowed the Dodgers (94-53) to sweep the series and complete a 6-0 homestand against a pair of National League West rivals.

More importantly, it allowed them to gain a game on the San Francisco Giants, who lost to the San Diego Padres. The Dodgers (94-53) trail the Giants (95-51) by 1 ½ games for first place in the National League West with 15 games remaining in the regular season.

The Giants play the Padres again Thursday, while the Dodgers have an off-day.

The most encouraging development for the Dodgers, aside from the wins themselves, were the signs of life that emerged from their offense as the homestand drew to a close.

By Saturday, their collective on-base percentage had fallen to .327. The back half of their lineup was the weakest in baseball, at least since the All-Star break.

Whether by land (Turner also stole a base Wednesday, his league-leading 29th of the season) or by air (Max Muncy homered for the second consecutive day), the Dodgers discovered a variety of ways to manufacture runs.

The bottom of the lineup contributed plenty. No. 8 hitter Gavin Lux went 2 for 4 with a pair of RBI singles. No. 7 hitter Cody Bellinger contributed a single and an RBI groundout, extending his on-base streak to four games – his longest such streak in a month.

No. 6 hitter Will Smith went 2 for 3 with a double, and No. 5 hitter Justin Turner went 3 for 4. The Dodgers’ 14 hits were their most in a game since Aug. 15.

Dodgers starter Julio Urías did not allow a hit until the fourth inning. A walk, a single, and a rare successful stolen base – only the second he’s allowed this season – set up Henry Ramos for a two-run single that briefly gave Arizona a 2-1 lead.

But the Dodgers got the runs back in the bottom of the fourth, on an RBI groundout by Bellinger followed by a Lux single. Muncy’s home run, a solo shot against Merrill Kelly (7-10) in the fifth inning, was his 34th of the season.

Urías (18-3) has won his last five starts and leads the majors in victories. He walked two batters and struck out five in five innings.

Arizona got its only run against the Dodgers’ bullpen when Christian Walker took Phil Bickford deep in the sixth inning. Alex Vesia, Joe Kelly, Blake Treinen and Kenley Jansen closed the door on the Dodgers’ penultimate homestand of the season.

Jansen struck out the side in the ninth inning to record his 33rd save of the season.

More to come on this story.