SAN FRANCISCO -- Alen Hanson has experience as a pinch-hitter, and he's putting it to good use with his new team.
Hanson had a tying, two-run homer off Brad Boxberger with two outs in the ninth inning, Brandon Crawford singled home Andrew McCutchen in the 10th and the San Francisco Giants beat the Arizona Diamondbacks 5-4 on Wednesday for their sixth win in seven games.
Arizona led 4-2 when Boxberger walked Mac Williamson with one out in the ninth. Nick Hundley struck out, Hanson batted for Austin Jackson and turned on a fastball over the middle of the plate, driving it over the right-field wall. Hanson has five home runs in 52 at-bats with the Giants this season.
Boxberger blew a save for the second time in 16 chances. Arizona had been 29-0 when leading after eight innings.
Hanson delivered in his fourth straight a pinch-hit at bat. He also has two doubles over that stretch.
"I think it's based on experience," Hanson said through a translator. "Last year I basically spent the whole year pinch-hitting. I don't let the situation intimidate me."
The Giants are Hanson's third team. The 25-year-old switch-hitting utilityman signed a minor league contract with them late last year.
"He's dangerous," Giants manager Bruce Bochy said. "He's got easy pop."
San Francisco took two of three from Arizona, ending a streak of five series losses to the Diamondbacks, and won for the seventh time in eight home games.
"Great win for us," Bochy said. "It could be our best win this year."
"If (Dyson) can't make the play, it can't played," Diamondbacks manager Torey Lovullo said.
Crawford worked the count full and grounded a single between first and second, into right field, as McCutchen scored standing up.
Crawford turned on a slider Chafin left over the middle of the plate.
"I still hadn't seen a fastball, so I had stay ready for that," Crawford said. "He was throwing 94-95 (mph), so I wanted to stay ready for that fastball but see that slider a little bit deeper, a little bit longer, and just stay short with my hands."
Hunter Strickland (3-2) got out of a two-on jam in the 10th, striking out Ketel Marte, then retiring Nick Ahmed on a popout with runners at the corners. Strickland walked two -- one intentionally -- and threw two wild pitches in his only inning.
Paul Goldschmidt had four hits, including three doubles, and two RBI. He has raised his average to .233 from .198 before play on May 23.
Arizona starter Clay Buchholz gave up two runs and seven hits in seven innings with seven strikeouts and one walk. The 33-year-old right-hander has a 1.88 ERA since signing with the Diamondbacks on May 4, three days after the two-time All-Star was released by Kansas City.
Pablo Sandoval hit his fifth home run of the season in the first, a drive to right-center that would have traveled 447 feet unimpeded, according to Statcast. Sandoval and Buchholz were teammates on Boston.
"The pitch looked like it was where I wanted but if he barrels it up, it goes far," Buchholz said.
Giants starter Chris Stratton gave up three runs and seven hits in four-plus innings, leaving with a 3-2 deficit.
FREAK SHOW 2.0?
Giants manager Bruce Bochy said he is open to approaching the team's front office about a possible role in the organization for Tim Lincecum, a two-time Cy Young Award winner from the Giants who was released Tuesday by Texas.
"He's somebody that's dear to all of our hearts," Bochy said. "I would always have a spot for Timmy, somewhere."
Diamondbacks: RHP Randall Delgado (oblique strain) pitched an inning for Class A Visalia on Tuesday. Manager Torey Lovullo said Delgado's fastball topped out at 93 mph. ... LHPs Jorge De La Rosa (Achilles tendon soreness) and Robbie Ray (oblique) threw bullpen sessions at the team's extended spring training facility in Scottsdale, Arizona.
Giants: RHPs Johnny Cueto (right elbow inflammation) and Jeff Samardzija (right shoulder tightness) both threw on flat ground from about 100 feet. Both are scheduled for their first bullpens on Friday. ... 1B Brandon Belt, expected to be out three weeks after an appendectomy on Friday, did about 45 minutes of cardio work, Bochy said.
Diamondbacks: RHP Zack Greinke (4-4, 3.44 ERA) is to start Friday's series opener in Colorado. The four-time All-Star has held opponents to a .216 batting average in his last seven starts.
Giants: LHP Andrew Suarez (2-4, 4.74) is slated to pitch Friday's opener against Washington. The 25-year-old rookie threw seven innings of three-hit ball in a 2-0 win against Philadelphia last Saturday.
More AP baseball: https://apnews.com/tag/MLBbaseball
MLB storylines to watch heading into the season
Karl Ravech analyzes the faces in new places, World Series contenders and overall storylines heading into the 2019 season.
Stanton launches 2 home runs
Giancarlo Stanton shows off the power by hitting 2 big time home runs to left field.
Yanks instructor Mazzilli released from hospital
Lee Mazzilli, who is serving as a guest hitting instructor at Yankees camp, was released from the hospital on Friday, two days after he was struck in the head by a ball during batting practice.
Lindor, Kipnis both ruled out for Indians' opener
Indians shortstop Francisco Lindor and second baseman Jason Kipnis will not be ready for Thursday's Opening Day game against the Twins, the team announced.
Trout lines HR over left-field wall
Mike Trout hits a rocket over the fence in left field for a home run.
Risk, legacy and the future of the Red Sox: Five questions about Chris Sale's extension
Of the top 30 players in baseball, five have signed extensions this week alone. But a few factors help make Chris Sale's deal unique.