OAKLAND (CBS SF/AP) – After dominating the Bay Bridge Series for three days against the big-spending Giants, the Oakland Athletics ran right into Madison Bumgarner. On the mound, and at the plate.

Bumgarner pitched into the seventh to snap a two-start skid and also batted in an AL ballpark, and the Giants avoided a four-game sweep by beating the A’s 12-6 on Thursday night.

READ MORE: Lawsuit Alleges Low-Income Homeowners Were Manipulated Into Getting PACE Green-Energy Loans

Buster Posey hit a towering three-run homer to center in the third and Brandon Crawford followed with a solo shot before adding an RBI single two innings later.

Brandon Belt had four RBIs and hit a go-ahead two-run double in the third ahead of Posey’s ninth home run. Bumgarner helped start the rally with a leadoff double.

A’s lefty Dillon Overton (1-1) was done after three innings in his second major league start after he won his debut last Saturday at Los Angeles. This time, he surrendered eight runs and eight hits with a strikeout and three walks.

He said he wasn’t able to make the adjustments he usually does — and Overton knew Bumgarner had the ability to make him pay with the bat.

“I’ve watched him on TV for years now. I knew he could hit,” Overton said. “I left that one up and Bum made me pay for it.”

Marcus Semien hit his career-best 16th home run in the first as the A’s took a quick lead against Bumgarner, then Yonder Alonso added a two-run drive in the seventh to chase Bumgarner. Oakland has homered in a season-best nine games in a row.

READ MORE: COVID: Bay Area Expert Says Michigan's Surge From UK Variant Not Likely In California

Bumgarner (9-4) was given the option by manager Bruce Bochy to bat himself rather than the Giants using a designated hitter, and of course the big lefty chose to swing the bat. He had lost two straight starts following seven consecutive winning decisions.

“I’m not trying to prove anything to anybody. We’re trying to win ballgames,” Bumgarner said. “That’s all I care about. I don’t care what anybody says or thinks about it. I care about these guys, I care about our fans. … I want to be as good a baseball player as I can be, not just a pitcher. In this league you’ve got to hit. You can change the outcome of the game sometimes.”

Bumgarner allowed four runs and seven hits, struck out four and didn’t walk a batter in 6 1/3 innings. The two home runs allowed matched his most for the season, also done opening day at Milwaukee on April 4. He hasn’t lost three straight starts since June 27-July 8, 2014, during his spectacular World Series MVP season.

While San Francisco had given up seven or more runs in four straight games, the Giants helped Oakland score at least six runs in a seventh straight contest when Coco Crisp hit a two-out, two-run double in the ninth.

San Francisco added on late, getting Belt’s two-run single. Fernando Rodriguez also walked in a pair of runs among his five free passes in the inning, and the A’s had their three-game winning streak snapped with only a second defeat in the last eight games.

TM and © Copyright 2016 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2016 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.

MORE NEWS: UPDATE: 2 Dead, 7 Injured, 1 Arrest In Suspected DUI Crash In Pittsburg