MIAMI (AP) — Jorge Alfaro hit a game-ending, two-run double, and the Miami Marlins rallied from two-run deficits in the ninth and 10th innings to beat the San Francisco Giants 7-6 Saturday night.

San Francisco led 5-3 before RBI singles in the ninth by Alfaro and Starling Marte off Jake McGee. The closer threw 35 pitches in the inning, retiring Adam Duvall on an inning-ending flyout that stranded the bases loaded.

Brandon Belt’s run-scoring double against Yimi García (2-1) put the Giants ahead 6-5 in the 10th.

Jazz Chisholm walked against Jarlin García (0-1) with one out in the bottom half, joining the the pandemic-rules automatic runner to give Miami two on. Chad Wallach flied out, and Alfaro lined a double that bounced to the left-field wall.

Miami starter Sandy Alcantara allowed four runs and six hits in 6 1/3 innings with seven strikeouts.

Giants starter Aaron Sanchez gave up one run, five hits, three walks and a hit batter in 4 2/3 innings.

San Francisco catcher Buster Posey was hit on the left arm by Alcantara’s final pitch. Posey went to first base and scored on a three-run homer by pinch-hitter Austin Slater off Richard Bleier, which capped a five-run inning that put the Giants ahead 5-3. Posey left the game before the bottom half.

Belt homered leading off the seventh, and Brandon Crawford had an RBI single. Belt has reached safely in 28 straight games against Miami.

Duvall tripled in a run in the first, and Jesús Aguilar made it 3-0 with a two-run double off Matt Wisler in the sixth.

TRAINER’S ROOM

Giants: RHP Tyler Beede (elbow surgery) and RHP John Brebbia (elbow surgery) had throwing sessions Saturday in Sacramento, California.

Marlins: RHP Edward Cabrera (right biceps inflammation) is throwing from 75 feet and is making progress.

UP NEXT

Giants LHP Alex Wood (season debut) is to start the series finale on Sunday while the Marlins go with RHP Pablo Lopez (0-1, 4.60).

Copyright 2024 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.

Join our Newsletter for the latest news right to your inbox