PHOENIX (AP) Zac Gallen struck out 11 in six innings, pinch hitter Gavin Smith hit a three-run homer and the Arizona Diamondbacks ended a three-game losing streak with an 8-2 win over the San Francisco Giants on Wednesday night.

Arizona needed a rebound after a losing streak that included a blown eight-run lead in a loss to Milwaukee and Tuesday's lackluster 11-0 loss to the Giants.

The Diamondbacks responded behind a strong performance from their ace to tie the New York Mets in the National League wild card, a game ahead of Atlanta. The Braves and Mets had to postpone the final two games of their series until a Monday doubleheader due to Hurricane Helene.

Gallen (14-6) gave up a run-scoring double to Tyler Fitzgerald in the second inning, but shut the Giants down after that. The right-hander retired 12 straight starting in the second inning and struck out the side in the fifth.

Gallen allowed a run on two hits with two walks to win his fifth straight decision.

Arizona's offense also came back to life after Tuesday's letdown, chasing Giants starter Mason Black (1-5) by the third inning. Gabriel Moreno had two RBIs and Smith put the game out of reach in the eighth by splashing a homer into the pool in right-center.

The Giants struck out 17 times to end a 7-1 run against playoff contenders.

Black earned first big league victory by tossing 5 2/3 scoreless innings against Kansas City last Friday.

He wasn't nearly as sharp against the Diamondbacks.

Fighting control issues, Black gave up run-scoring singles by Lourdes Gurriel Jr. and Moreno in the second inning, then Corbin Carroll added a sacrifice fly. Black walked three in the third inning, including Moreno with the bases loaded, to put Arizona up 4-1.

Black allowed four runs on five hits with five walks in 2 2/3 innings.

TRAINER'S ROOM

Diamondbacks: RHP Paul Sewald threw a short bullpen session as he works his way back from a neck/shoulder issue.

UP NEXT

Giants: San Francisco has not named a starter for Friday's opener of a three-game series against St. Louis.

Diamondbacks: Arizona has yet to name a starter for the opener of a three-game series against San Diego on Friday.

---

AP MLB: https://apnews.com/hub/mlb

Copyright 2024 STATS LLC and Associated Press. Any commercial use or distribution without the express written consent of STATS LLC and Associated Press is strictly prohibited.