CHICAGO — Madison Bumgarner outpitched Jake Arrieta with 10 strikeouts over six innings, and the San Francisco Giants pounced on rare miscues by the Chicago Cubs in a 3-2 victory Saturday.

Bumgarner (14-8) allowed two runs and five hits in his fourth victory in his last five starts. San Francisco, trying to catch Los Angeles in the NL West, rebounded from a pair of one-run losses in the first two games of the four-game set against the major league leaders.

Arrieta (16-6) was charged with three runs – two earned – and four hits in six innings in his first loss since July 30. Chicago had won five straight overall.

The Cubs had one last chance when pinch hitter Anthony Rizzo led off the ninth with a walk against Will Smith. Rizzo advanced on a sacrifice by Dexter Fowler, but the big first baseman was caught off second on the play and Kris Bryant hit a soft lineout to shortstop Brandon Crawford, handing Santiago Casilla his 30th save.

RED 9, CARDINALS 1: Zack Cozart hit a pair of doubles during run-scoring innings that included St. Louis misplays, and host Cincinnati sent the Cardinals to their third straight loss.

Pinch hitter Ramon Cabrera’s two-run single in the seventh inning put the Reds ahead 4-1.

METS 3, NATIONALS 1: Curtis Granderson and James Loney came through with big hits to back Robert Gsellman as New York won at home.

BRAVES 6, PHILLIES 4: Adonis Garcia scored the winning run in the 10th inning after homering twice earlier in the game as Atlanta won at Philadelphia.

BREWERS 7, PIRATES 4: Jose Arcia had three hits, including a tiebreaking single in a four-run eighth inning, and visiting Milwaukee extended Pittsburgh’s losing streak to five games.

DIAMONDBACKS 9, ROCKIES 4: Chris Owings had a career high-tying four hits, Jake Lamb homered, and Arizona won at Denver.

DODGERS 5, PADRES 1: Rich Hill pitched six sparkling innings, Yasmani Grandal hit a three-run homer and Los Angeles won at home.

AMERICAN LEAGUE

RANGERS 12, ASTROS 4: Adrian Beltre and Nomar Mazara each homered, Derek Holland pitched his third straight quality start since coming off the disabled list and Texas beat Houston at Arlington, Texas, for its seventh straight victory.

RAYS 7, BLUE JAYS 5: Matt Duffy’s three-run double highlighted a five-run sixth inning at St. Petersburg, Florida, and last-place Tampa Bay beat AL East-leading Toronto for the second straight game.

ORIOLES 2, YANKEES 0: Kevin Gausman outpitched CC Sabathia for the second time in seven days, Adam Jones homered and Baltimore got its third straight shutout against visiting New York.

TWINS 11, WHITE SOX 3: Miguel Sano and Trevor Plouffe each homered during an eight-run third inning, and Minnesota went deep four times at Minneapolis.

ROYALS 5, TIGERS 2: Eric Hosmer hit his career-high 20th homer, Yordano Ventura pitched into and out of trouble, and Kansas City won at home to snap a three-game losing streak.

INTERLEAGUE

INDIANS 8, MARLINS 3: Trevor Bauer overcame a shaky first inning and pitched into the ninth, Francisco Lindor was 4 for 4 and Cleveland won at home.

NOTES

NATIONALS: Max Scherzer’s next start has been pushed back a day to Monday to give the ace right-hander extra rest.

GIANTS: Nearly 13 years after he was traded away, Joe Nathan is back with San Francisco. The Giants promoted the 41-year-old right-hander from Double-A Richmond before Saturday’s game against the Cubs.

YANKEES: Rookie right-hander Chad Green has a sprained throwing elbow and is likely done for the season.