SAN FRANCISCO — Julio Borbon and Junior Lake scored on an error by San Francisco first baseman Brandon Belt in the ninth inning and the Chicago Cubs rallied for a 3-2 win over the Giants on Friday night.
Borbon singled leading off the inning against Giants closer Sergio Romo (3-5) and moved to second when pinch-hitter Dioner Navarro walked.
After David DeJesus struck out looking, Lake reached on a fielder's choice. Anthony Rizzo then hit a sharp liner that went through Belt's legs and into the right field corner.
The Cubs, who earlier in the day completed a trade sending slugging outfielder Alfonso Soriano to the New York Yankees, rallied for just the fourth time when trailing after eight innings.
Jeff Francoeur had two hits for the Giants, who lost for the fifth time in six games.
Matt Guerrier (4-4) retired four batters for the win while Kevin Gregg worked the ninth for his 20th save.
Chicago's 14th come-from-behind win came after Francoeur's two-run single off starter Edwin Jackson in the seventh gave the Giants a 2-1 lead.
The wild ending was in stark contrast to the pitching duel between Jackson and San Francisco starter Matt Cain.
Jackson faced just one batter over the minimum through four innings and carried a two-hit shutout into the seventh until giving up two walks and a double before Francoeur's two-run single.
Cain allowed six hits, struck out seven and walked one and was in line to win consecutive starts for the first time since early May until Romo's fourth blown save following the Giants' NL-leading 74th error.