Yoshinobu Yamamoto turned in a masterful outing under the Friday night lights at Dodger Stadium, striking out nine batters over six innings to steer the Los Angeles Dodgers to a 3-1 victory over the National League-leading Milwaukee Brewers. The win pulled the Dodgers to within one game of the Brewers in the standings, reigniting the race for the top spot in the NL.

Yamamoto, now 12-7 on the season, allowed only one run on four hits while fanning at least nine for the third time this year. His command was sharp from the first pitch, mixing a devastating splitter with a lively fastball that kept Brewers hitters off balance. The lone blemish came in the fifth inning when Luis Lara led off with a double and later scored on a sacrifice fly by Joey Ortiz.

Offensively, the Dodgers struck early. In the first inning, three consecutive singles with one out brought Andy Pages home on a Mookie Betts hit. Pages, batting second in the order with Freddie Freeman enjoying a planned day off, gave the Dodgers a 1-0 lead. Pages later added some insurance in the fifth inning, launching his 20th home run of the season over the left-field wall to put Los Angeles ahead 2-1. One inning later, Tommy Edman extended the lead to 3-1 with a solo shot to left-center, his fourth homer of the year.

Brewers starter Robert Gasser (3-5) battled through 6 1/3 innings, allowing three runs on eight hits while striking out five. His outing kept Milwaukee in the game, but the Dodgers' timely hitting proved decisive. The Brewers, who surged back to the top of the NL in early August, saw their offense stifled outside of the fifth inning rally.

The ninth inning brought drama. Dodgers closer Edwin Diaz, who took the loss in Thursday's opener after surrendering three runs in the ninth, entered hoping for redemption. He hit Andrew Vaughn to lead off the inning, then walked William Contreras and David Hamilton to load the bases with one out. The sellout crowd held its breath as Ortiz stepped to the plate. He grounded a ball to shortstop Mookie Betts, who fielded cleanly and threw to first for the final out, sealing Diaz's seventh save of the season.

Looking ahead, the series continues Saturday night with a marquee pitching matchup. Brewers hard-throwing right-hander Jacob Misiorowski (11-5, 1.76 ERA) takes the mound opposite Dodgers left-hander Justin Wrobleski (11-4, 3.44). Both teams are eager to gain an edge in what promises to be a tight divisional race down the stretch.