SAN FRANCISCO - Didi Gregorius scored the go-ahead run on a wild pitch in the 11th inning and the Arizona Diamondbacks beat the San Francisco Giants 6-4 Tuesday night after blowing a late four-run lead.
Gregorius hustled for a one-out double off reliever Santiago Casilla (2-2) when left fielder Andres Torres fielded the ball nonchalantly. Pinch-hitter Alfredo Marte reached when first baseman Brandon Belt was charged with an error for bobbling a throw from third baseman Pablo Sandoval. Casilla then threw a wild pitch to Gerardo Parra that bounced to the backstop, allowing Gregorius to score.
Parra followed with an RBI double to make it 6-4.
San Francisco got the potential tying run to the plate in the bottom of the 11th, but Matt Reynolds got Torres to ground into a double play and then retired Brandon Crawford for his first career save.
Brad Ziegler (1-0) pitched a scoreless inning for the win.
The Diamondbacks, who twice blew two-run leads in Monday's 5-4 loss in the series opener, led 4-0 before the Giants scored twice in the eighth and tied it in the ninth on Belt's pinch-hit, two-run homer off closer J.J. Putz.
San Francisco also put two runners on in the 10th but failed to score when Sandoval was thrown out at home by Arizona right fielder and former teammate Cody Ross following Hunter Pence's two-out single.
The loss ended San Francisco's nine-game winning streak against NL West opponents and also stopped the Giants' seven-game streak at AT&T Park.
Arizona took a 2-0 lead in the first, and Paul Goldschmidt's two-run homer in the third put Arizona up 4-0.
Box scores from Tuesday's games / B2
• Who: D-backs at Giants
• When: 12:45 p.m.
• Radio: 1490-AM