The Arizona Diamondbacks blew a seven-run lead and lost their 21st straight road game, one short of the major league record, when Mike Yastrzemski hit a grand slam in the eighth inning that lifted the San Francisco Giants to a 9-8 victory Tuesday night.

Arizona was ahead 7-0 in the second inning, but couldn’t hold it and lost its 12th straight overall.

The Diamondbacks can match the record of 22 consecutive road defeats shared by the 1963 New York Mets and the 1943 Philadelphia Athletics when they play the Giants at Oracle Park on Wednesday night. Arizona hasn’t won on the road since April 25 at Atlanta.

Arizona Diamondbacks pitcher Humberto Castellanos reacts after allowing a grand slam home run to San Francisco Giants' Mike Yastrzemski during the eighth inning of a baseball game in San Francisco, Tuesday, June 15, 2021. (AP PhotoJeff Chiu)

Arizona Diamondbacks pitcher Humberto Castellanos reacts after allowing a grand slam home run to San Francisco Giants' Mike Yastrzemski during the eighth inning of a baseball game in San Francisco, Tuesday, June 15, 2021. (AP PhotoJeff Chiu)

The Giants trailed 8-5 when Belt doubled leading off the eighth against Humberto Castellanos (0-1). San Francisco loaded the bases with two outs and Yastrzemski launched a 1-2 pitch deep over the right field fence into McCovey Cove for his first career grand slam.

Steven Duggar also homered to help San Francisco to its seventh straight win over Arizona. Brandon Belt had three hits and scored three runs.

Jimmie Sherfy (1-0), the fifth of six pitchers used by Giants manager Gabe Kapler, retired three batters to win. Tyler Rogers pitched the ninth for his ninth save.

San Francisco Giants' Mike Yastrzemski hits a grand slam home run during the eighth inning of a baseball game against the Arizona Diamondbacks in San Francisco, Tuesday, June 15, 2021. (AP PhotoJeff Chiu)

San Francisco Giants' Mike Yastrzemski hits a grand slam home run during the eighth inning of a baseball game against the Arizona Diamondbacks in San Francisco, Tuesday, June 15, 2021. (AP PhotoJeff Chiu)

Christian Walker had two hits and three RBIs for the Diamondbacks. David Peralta and Asdrúbal Cabrera drove in two runs apiece.

Giants starter Zack Little threw 17 pitches and allowed four hits and four runs without retiring a batter in his second start as an opener in the last seven days.

Arizona scored three times in the second and added a later run that helped it take an 8-3 lead into the bottom of the sixth.

Arizona Diamondbacks right fielder Josh Reddick (22) cannot catch a triple hit by San Francisco Giants' Brandon Belt during the sixth inning of a baseball game in San Francisco, Tuesday, June 15, 2021. (AP PhotoJeff Chiu)

Arizona Diamondbacks right fielder Josh Reddick (22) cannot catch a triple hit by San Francisco Giants' Brandon Belt during the sixth inning of a baseball game in San Francisco, Tuesday, June 15, 2021. (AP PhotoJeff Chiu)

Diamondbacks starter Alex Young allowed five hits and three runs in four innings in his first start since Sept. 23, 2020.

TRAINER’S ROOM

Diamondbacks: RHP Taylor Clarke was placed on the injured list with a strained muscle in the upper body. RHP Seth Frankoff was transferred to the 60-day IL.

Giants: INF/OF Darin Ruf may have to stay on the injured list longer than expected after being unable to run the bases with the intensity that the Giants hoped he would Monday, although Kapler declined to call it a setback. Ruf has been out since May 27 with a strained right hamstring.

UP NEXT

RHP Anthony DeSclafani (6-2, 3.09 ERA) faces the Diamondbacks on Wednesday. DeSclafani pitched a two-hit shutout against the Nationals on June 11. Arizona RHP Merrill Kelly (2-6, 5.14) makes his sixth career start against the Giants. Kelly enters the game holding opponents to a .235 average over his last four starts on the road.

More AP baseball: https://apnews.com/hub/MLB and https://twitter.com/AP_Sports