LINKEDINCOMMENTMORE

San Francisco, CA (Sports Network) - Buster Posey led off the bottom of the ninth inning with a homer against Ronald Belisario to give the San Francisco Giants a 2-1 win over the Los Angeles Dodgers.

Posey tied the game with an RBI double in the sixth inning, and he won it by taking a 3-2 pitch from Belisario (2-3) over the wall in left field for his first career walkoff homer.

The Giants mustered just four hits in the opener of this three-game series, but received five-plus solid innings from Barry Zito. The lefty scattered six hits and gave up a run while walking four.

Clayton Kershaw, who was activated from the bereavement list to make the start, gave up three hits and fanned five over seven innings.

San Francisco used five relievers with Sergio Romo (2-2) throwing the top of the ninth to get the win.

The Dodgers, who had 11 hits to just four for the Giants, went 3-for-14 with runners in scoring position and left 13 men on base.

Dodgers shortstop Hanley Ramirez left the contest in the sixth inning with an injured left hamstring. Ramirez was thrown out trying to go from first to third on a single to right field by A.J. Ellis. Ramirez was thrown out at third base and he then immediately grabbed for his hamstring.

Ramirez was eventually assisted off the field into the dugout and was replaced by Justin Sellers.