SAN FRANCISCO (AP) — Cody Bellinger overcame a bout of food poisoning to score the go-ahead run on Kyle Farmer’s pinch-hit double in the 10th inning, and the Los Angeles Dodgers beat the San Francisco Giants 2-1 on Sunday.

Bellinger was held out of the starting lineup because of the illness but entered as a defensive replacement and started the winning rally with a leadoff double against Pierce Johnson (0-1).

READ MORE: Pigcasso: Pot-Bellied Pig Produces Award-Winning Art In Mokelumne Hill

With two outs and runners on first and second, Farmer then hit a drive over right fielder Andrew McCutchen’s head to score Bellinger with the go-ahead run that gave the Dodgers a split of a rain-shortened two-game series.

Josh Fields (1-0) pitched a scoreless ninth for the win and Kenley Jansen struck out three batters in the 10th for his first save of the season. Jansen struck out pinch-hitter Brandon Belt looking to end the game with Hunter Pence on second base.

Clayton Kershaw was sharp through seven scoreless innings and appeared to be headed to his first win of the season for Los Angeles before running into trouble in the eighth. Pence started the rally with a leadoff single and Kelby Tomlinson followed with a perfectly placed bunt single that ended Kershaw’s day after 92 pitches.

Buster Posey, who was held out of the lineup after catching 14 innings Saturday, entered as a pinch hitter and tied the game with a single off JT Chargois.

Los Angeles escaped the inning with no further damage, but Kershaw ended up with a no-decision. He has received just two runs of support in three starts this season.

The Dodgers squandered a prime scoring chance in the second when Austin Barnes hit into an inning-ending double play with the bases loaded but broke through against Ty Blach two innings later when Matt Kemp drove in Yasiel Puig from second with a soft single to right.

Blach avoided further damage by getting Logan Forsythe to hit into an inning-ending double play with runners on first and third.

READ MORE: ‘Just Want To Bring Him Home’: Family Continues Search For Teen After Crash Into Winters Creek

The Giants threatened against Kershaw in the sixth with back-to-back, one-out singles from pinch-hitter Gorkys Hernandez and Austin Jackson. Joe Panik followed with a sinking line drive to right field that Puig caught on his knees. Hernandez ran on the play either because he lost track of the outs or thought the ball was going to fall. Instead, he was easily doubled off second for the final out of the inning.


Dodgers: LHP Alex Wood also is dealing with food poisoning and had his next start pushed back a day to Wednesday, with Hyun-Jin Ryu moved up a day to Tuesday against Oakland.


Dodgers: Los Angeles opens a two-game series at home against Oakland on Tuesday with Ryu (0-0) taking on Sean Manaea (1-1).

Giants: San Francisco opens a three-game home series against Arizona with Derek Holland (0-1) getting the start against Zack Godley (1-0).


MORE NEWS: Amador County Father Details Moments Family Was Forced To Flee River As Electra Fire Sparked

More AP baseball: