A scoreless pitching duel between Tyler Mahle and Shohei Ohtani was settled by one swing in the seventh inning.

The Game Network — Where History Is Kept

Mahle earned his first win of the season, allowing three hits over seven shutout innings with five strikeouts and two walks. The right-hander carried a 5.26 ERA into the game but dominated the Dodgers' lineup, throwing 91 pitches to secure the victory.

Patrick Bailey broke the deadlock with a three-run homer to left center in the seventh inning, scoring Jung Hoo Lee and Heliot Ramos. The 407-foot blast off reliever Jack Dreyer provided all the offense the Giants would need, giving Bailey three RBIs on his lone hit of the night.

Ohtani matched Mahle through six innings, allowing five hits while striking out seven without issuing a walk. The two-way star threw 91 pitches but received no decision after Dreyer surrendered the decisive runs in relief. Dreyer allowed three hits and three runs in one inning, taking the loss.

San Francisco snapped a losing streak to improve to 10-13, while Los Angeles fell to 16-7 after winning 16 of their first 22 games.