Patrick Bailey hit a game-ending grand slam in the bottom of the 10th inning and the San Francisco Giants moved a half game out of a National League wild-card spot with a 5-1 victory over the visiting Los Angeles Dodgers.

The Giants (75-72) pulled off the victory despite making 23 consecutive outs between the first and ninth innings.

Willy Adames also drove in a run for San Francisco, while veteran right-hander Justin Verlander allowed one run on four hits over seven innings. Joel Peguero (2-0) pitched a scoreless 10th inning.

Dodgers right-hander Yoshinobu Yamamoto gave up just one run on one hit over seven innings, with 10 strikeouts while retiring the last 20 batters he faced. Yamamoto has pitched at least seven innings with 10 strikeouts in three consecutive starts.

Michael Confort

See Full Page