BOSTON — Kevin Gausman pitched four-hit ball into the eighth inning, Tim Beckham hit a three-run homer and the Baltimore Orioles routed the Boston Red Sox for the second straight day, 7-0 on Saturday.

It was the third straight win for the Orioles, who pounded Boston 16-3 a night earlier. Jonathan Schoop added a solo homer and posted his 95th RBI, a club record for second basemen, surpassing Roberto Alomar’s 94 in 1996.

The AL East-leading Red Sox dropped their third straight and saw their lead sliced to 3 1/2 games over the second-place New York Yankees.

Gausman (10-9) struck out five and walked three. He gave up four singles in 7 2/3 innings.

Eduardo Rodriguez (4-4) allowed five runs and seven hits in 6 2/3 innings, striking out seven.

YANKEES 6, MARINERS 3

NEW YORK — Greg Bird reached base three times in his long-awaited return to the Yankees’ lineup and Jacoby Ellsbury homered and drove in four runs, leading Sonny Gray and New York over Seattle.

Bird singled, walked twice and scored in his first game since May 1. He has been hobbled by ankle and foot problems.

Ellsbury hit a three-run homer and an RBI single. He connected off Yovani Gallardo (5-10) in a matchup of playoff contenders.

Gray (8-8) struck out nine in seven innings and allowed one run on three hits, including a homer by Carlos Ruiz. It was the 11th straight start Gray hasn’t permitted more than two earned runs, the best string by anyone in the majors this year. Five of those games have come since he was traded from Oakland to the Yankees on July 31.

Dellin Betances worked the ninth for his 10th save.

BLUE JAYS 10, TWINS 9

TORONTO — Josh Donaldson had three hits, including a two-run homer, Kendrys Morales added a solo shot and Toronto withstood a late rally by Minnesota.

Max Kepler hit a grand slam and Eduardo Escobar had a two-run drive for the Twins, who began the day with a slim lead in a crowded race for the second AL wild card.

Minnesota lost for the 11th time in 13 meetings with the Blue Jays.

Donaldson keyed a six-run fifth inning with his 23rd homer as the Blue Jays opened an 8-2 lead.

After Kepler cut it to 8-7 with his slam off Ryan Tepera in the eighth, Donaldson’s RBI double off John Curtiss in the bottom half gave Toronto a two-run cushion. Donaldson later scored on a wild pitch to make it 10-7.

The 2015 AL MVP, Donaldson owns a .376 (50 for 133) career batting average in 35 games against Minnesota, with 15 doubles and 14 home runs.

Marco Estrada (6-8) allowed three runs in six innings to win for the second time in 16 starts since May 27. Roberto Osuna earned his 34th save in 42 chances.

Dillon Gee (1-1) took the loss in his second start with the Twins.

NATIONALS 9, METS 4

WASHINGTON — Adrian Sanchez drove in three runs, including an RBI single moments after he took a pitch to the chest while trying to bunt, and made a diving play to help Washington beat New York.

With second baseman Daniel Murphy getting some rest before a pinch-hitting appearance, Sanchez filled in well with a two-run single during a big first inning and ranged to his left to help pick up Gio Gonzalez (13-5) in the seventh. More remarkably, after taking a 96 mph sinker in the chest from Mets reliever Jeurys Familia that was called a foul ball, the rookie from Venezuela laced an RBI single to give the Nationals a valuable insurance run.

Mets rookie Robert Gsellman (5-6) allowed six runs (two earned) and nine hits in four innings. He was sent to the minors after the game.

ATHLETICS 8, RANGERS 3

OAKLAND, Calif. — Chad Pinder homered twice to help Oakland top Texas, ending Cole Hamels’ five-game win streak.

Jed Lowrie drove in three runs for the A’s, who put back-to-back victories together for the first time since Aug. 5-6 at the Los Angeles Angels.

Adrian Beltre had three RBIs for the Rangers, who lost their second straight after winning 11 of 15.

Sean Manaea (9-8) won for the first time since July 16, ending his three-game slide. He gave up two runs in five innings.

Hamels (9-1) left a game trailing for the first time all season. He was nicked for six runs and nine hits in 4 1/3 innings, matching his shortest outing of the year.

PIRATES 1, REDS 0

CINCINNATI — Gerrit Cole ended his career-long futility against Cincinnati by hitting a solo homer and pitching seven innings for Pittsburgh.

Cole (11-8) was 0-6 against the Reds in nine starts, including a loss earlier this season. He broke through by holding down a lineup that had scored nine runs the previous night. Cole gave up five hits, didn’t walk a batter and fanned six.

He also connected for his first homer of the season and the third of his career off Luis Castillo (2-7) in the sixth, getting around on a 95 mph inside fastball. It was Cole’s first homer since May 26, 2016, against Arizona at PNC Park.

Cole is 8-0 in his last nine road starts. The last Pirates pitcher to win eight straight road decisions was Don Robinson in 1982.

Juan Nicasio and Felipe Rivero completed the five-hitter, with the left-hander getting his 15th save in 16 chances.

The Pirates won for only the third time in 13 games against their Ohio River rivals this season.

BREWERS 3, DODGERS 0

LOS ANGELES — Zach Davies pitched seven dominant innings for his second scoreless start against Los Angeles this season, and Orlando Arcia hit a two-run homer for Milwaukee.

Davies (15-7) also held the major league-leading Dodgers (91-37) without a run over six innings in a June 4 win at Milwaukee.

Los Angeles went with a bullpen game, using six relievers. All were effective but Josh Ravin (0-1), who gave up a leadoff single to Manny Pina in the fifth and then Arcia’s 13th home run.

Davies allowed only three hits. He did not walk a batter and struck out seven. Corey Knebel pitched the ninth for his 28th save.

DIAMONDBACKS 2, GIANTS 1

PHOENIX — A.J. Pollock and J.D. Martinez homered off San Francisco ace Madison Bumgarner, and that was enough for Arizona.

Bumgarner (3-6) allowed five hits in seven innings against the Diamondbacks, who have won four of five and lead the NL wild-card standings.

Taijuan Walker (7-7) was just as good, yielding one run and four hits in 6 1/3 innings. He retired his first 11 batters before Jarrett Parker homered in the fourth.

Three relievers combined to hold the Giants to one hit in 2 2/3 innings. Fernando Rodney worked a perfect ninth for his 32nd save in 37 opportunities.

CARDINALS 6, RAYS 4

ST. LOUIS — Tommy Pham hit a two-run homer in the ninth inning and St. Louis rallied to beat Tampa Bay.

It was Pham’s first career walk-off homer and the fourth this season for the Cardinals.

Matt Carpenter beat out an infield single before Pham hit a 2-2 pitch from Brad Boxberger (3-4) for his 17th homer of the season.

The Cardinals tied it at 4 in the eighth with two runs off the Rays’ bullpen. Yadier Molina’s two-out, run-scoring single off Tommy Hunter scored Pham, and singles by Jedd Gyorko and Stephen Piscotty loaded the bases. Boxberger gave up an RBI single to Kolten Wong.

Tyler Lyons (2-0) pitched the ninth to earn the win.

Lucas Duda, Corey Dickerson and Adeiny Hechavarria homered for Tampa Bay.

INDIANS 4, ROYALS 0

CLEVELAND — Mike Clevinger pitched six sharp innings and rookie Bradley Zimmer made a sensational catch in center field before ending Jason Hammel’s bid for a perfect game, leading Cleveland over Kansas City.

Roberto Perez hit a two-run homer off Hammel (6-10), and Edwin Encarnacion and Carlos Santana also connected as the defending AL champions moved a season-high 16 games over .500 at 72-56.

The Royals fell eight games back in the AL Central and were shut out for the second straight night. They have not scored in 25 innings.

Clevinger (7-5) struck out a career-high nine and matched Hammel pitch for pitch before giving way to Cleveland’s bullpen.

Hammel was perfect for 5 1/3 innings before Zimmer singled.

CUBS 17, PHILLIES 2

PHILADELPHIA — Anthony Rizzo and Tommy La Stella homered twice, Kyle Hendricks pitched seven strong innings and Chicago easily overcame another home run from Philadelphia rookie Rhys Hoskins.

Kris Bryant and Ben Zobrist also went deep for the NL Central-leading Cubs, who tied their season high for homers and hits (17) while setting new marks for runs and margin of victory. Rizzo had five RBIs and La Stella added four.

Hendricks (5-4) earned his first victory since May 24, limiting the Phillies to two runs and six hits with eight strikeouts and no walks. He also had a single and a two-run double in Chicago’s seven-run seventh.

Hoskins has 10 home runs in his first 17 games, the fastest a player has reached double digits in major league history.

Ben Lively (1-5) gave up six runs and five hits, including four homers, with eight strikeouts in five innings.

ANGELS 7, ASTROS 6

ANAHEIM, Calif. — Andrelton Simmons hit a three-run homer in the eighth inning and Los Angeles rallied late from five runs down to beat Houston.

Kole Calhoun singled home Mike Trout with two outs in the eighth to make it 6-4. Simmons then slipped and finished his swing on one knee but still drove a slider from Tyler Clippard (2-8) over the left-field fence, sending Angel Stadium fans into a frenzy.

Los Angeles snapped a three-game skid. The Angels and Seattle Mariners are a half-game behind Minnesota in a packed race for the second AL wild card.

Blake Wood (2-4) worked a hitless inning and Blake Parker got three outs for his second save.

Jake Marisnick and George Springer homered to back Brad Peacock’s six strong innings as the AL West-leading Astros raced out to a 6-1 lead.

Calhoun hit a solo homer in the second. Los Angeles pushed across two runs in the seventh to make it 6-3.

MARLINS 2, PADRES 1, 11 INNINGS

MIAMI — Miguel Rojas hit a one-out sacrifice fly in the 11th inning, and Miami won for the 12th time in 15 games by beating San Diego.

The Padres kept Giancarlo Stanton stuck on 49 homers. He singled twice and struck out twice in four at-bats.

Derek Dietrich led off the 11th with a double against Jose Torres (7-4). Dietrich advanced on a sacrifice bunt, and with the Padres deploying five infielders, Rojas hit a drive that forced right fielder Jabari Blash to retreat to make the catch, allowing Dietrich to score easily.

Miami slugger Marcell Ozuna hit his 31st homer off the Marlins Park home run sculpture. Ichiro Suzuki singled for his 22nd pinch hit of the season, breaking the Marlins record set by Ross Gload in 2009.

Five Marlins pitchers combined to allow only six hits. Junichi Tazawa (3-3) pitched around a leadoff single in the 10th.

Cory Spangenberg stole home on the front end of a double steal for the Padres, who were mathematically eliminated from the race for the NL West title with 33 games left.

ROCKIES 7, BRAVES 6

ATLANTA — Charlie Blackmon hit a tiebreaking, two-run homer in the ninth inning off Arodys Vizcaino, and Colorado held on to beat Atlanta.

DJ LeMahieu added two solo homers and Trevor Story had a two-run double as the Rockies improved to 6-12 since Aug. 6. Colorado began the day with a 3 1/2-game lead for the second NL wild card, but had lost 24 of 31 on the road.

Vizcaino (3-3), who had a 1.42 ERA in his last 41 games, was not in a save situation, but the Atlanta closer allowed three runs and three hits without recording an out. He was pulled after LeMahieu’s sixth homer made it 7-4.

Pat Neshek (4-3) pitched a perfect eighth to get the win. Jake McGee got a game-ending double play for his second save.

TIGERS 6, WHITE SOX 3

CHICAGO — Justin Upton and Miguel Cabrera hit back-to-back homers in Detroit’s three-run third inning, sparking the Tigers to a rainy win against Chicago.

Cabrera finished with three hits as Detroit won for just the fifth time in 20 games. Buck Farmer (3-1) pitched into the sixth inning after he was recalled from Triple-A Toledo for his first major league start since June 18.

Shane Greene got five outs for his fifth save.

With two outs and a runner on second, Upton connected against Carlos Rodon for his 28th homer. Cabrera followed with a drive to right that just cleared the glove of a leaping Avisail Garcia, giving the Tigers a 3-2 lead.

It was Cabrera’s first home run since July 28 against Houston and No. 14 on the year.

Yolmer Sanchez hit a two-run drive for the White Sox, who had won three straight and six of nine.

Rodon (2-5) was charged with five runs and seven hits in five innings, his worst start in a month.