Yuli Gurriel and Evan Gattis recorded multi-hit, multi-RBI games while rookie Framber Valdez delivered a strong pitching performance in a pinch as the Houston Astros capped a three-game series sweep of the visiting Los Angeles Angels with a 6-2 win on Sunday.

Sep 23, 2018; Houston, TX, USA; Houston Astros third baseman Yuli Gurriel (10) hits a two-run home run to left field against the Los Angeles Angels during the first inning at Minute Maid Park. Mandatory Credit: Erik Williams-USA TODAY Sports

The Astros sliced their magic number to claim the American League West to three. Houston holds a 4 1/2-game lead on the second-place Oakland Athletics.

Gurriel finished 2-for-5 with two RBIs. He belted his third home run of the series and 13th on the season in the first inning against Tyler Skaggs (8-9), a two-run shot. Gattis went 3-for-3 with two RBIs.

Valdez (4-1) delivered in what amounted to an emergency start, allowing a run on three hits in six innings. He replaced Charlie Morton, who left after one inning due to shoulder discomfort.

Twins 5, A’s 1

Minnesota denied Oakland a chance to clinch a playoff spot on its home field, riding the strong pitching of Kyle Gibson and a two-run home run from Jake Cave to a victory.

The loss by Oakland kept Tampa Bay alive entering the final week of the regular season. The Rays still can earn the second American League wild-card spot by sweeping seven straight from the New York Yankees and Toronto Blue Jays, if at the same time the A’s lose all six remaining games against the Seattle Mariners and the Los Angeles Angels.

Gibson (9-13) worked 7 1/3 innings, allowing one run on seven hits. He walked three and struck out three.

Dodgers 14, Padres 0

Manny Machado, Matt Kemp and Austin Barnes hit home runs, and Hyun-Jin Ryu dominated for six innings as Los Angeles reduced its magic number for winning the National League West to six with a rout of visiting San Diego.

The Dodgers remained 1 1/2 games ahead of the Colorado Rockies in the NL West with six games remaining, all on the road at Arizona and San Francisco.

Ryu (6-3) enhanced his chances of starting in potential postseason games by giving up just four hits in his scoreless outing. He struck out eight without issuing a walk. He also had three hits at the plate, all singles, for his second career three-hit game.

Rockies 2, Diamondbacks 0

Kyle Freeland pitched seven scoreless innings in his 10th consecutive quality start as Colorado kept pace in the NL playoff races with a victory over Arizona in Phoenix, completing a three-game sweep. Freeland (16-7) gave up seven hits with six strikeouts and one walk.

Nolan Arenado had an RBI double, DJ LeMahieu and Garrett Hampson each had two hits, and Charlie Blackmon extended his hitting streak to a career-high 15 games for the Rockies. Colorado remained 1 1/2 games behind the St. Louis Cardinals for the second NL wild card.

Arizona was eliminated from the NL wild-card race and the NL West race.

Cubs 6, White Sox 1

Kyle Schwarber homered, doubled and walked twice, and Kyle Hendricks picked up his 13th win by allowing four hits and one run over 7 2/3 innings as the Chicago Cubs cruised to a victory over the host Chicago White Sox.

Ben Zobrist went 3-for-6 and scored a run, and Daniel Murphy, Anthony Rizzo and Albert Almora Jr. each had two hits as the Cubs claimed the season series over their city rivals for the second straight year, 4-2.

The Cubs, who play their final seven games at Wrigley Field, also sliced their magic number for winning a third consecutive NL Central crown to five over the Milwaukee Brewers, who remained 2 1/2 games behind.

Brewers 13, Pirates 6

Slideshow ( 14 images )

Christian Yelich and Travis Shaw hit towering home runs as visiting Milwaukee clobbered Pittsburgh.

Milwaukee scored four runs on wild pitches, two on bases-loaded walks and one on a bases-loaded hit batsman. The Brewers won two of three in the weekend series but still lost the season series 12-7.

Milwaukee remains two games in front of the Cardinals in the race for the first NL wild card ahead of the teams’ three-game battle that starts Monday in St. Louis.

Cardinals 9, Giants 2

Miles Mikolas allowed just two hits in seven innings en route to his 17th win, and Jose Martinez highlighted a five-run sixth inning with a two-run double, allowing host St. Louis to sweep a three-game series from San Francisco.

Mikolas (17-4) gave up two runs (one earned). He struck out eight and did not walk a batter as the Cardinals won for the sixth time in seven games.

Brandon Crawford homered for the Giants, who lost their fourth game in a row.

Orioles 6, Yankees 3

Pinch hitter Aaron Judge struck out in the seventh inning with a chance to tie the game, and New York fell to visiting Baltimore.

Orioles designated hitter Tim Beckham recorded his second career multi-homer game. However, Baltimore lost second baseman Breyvic Valera to a fractured bone in his left index finger on a slide at home in the fifth inning.

After the Yankees clinched a spot in the American League wild-card game Saturday, Judge was among the New York regulars to get the day off from starting.

Indians 4, Red Sox 3 (11 innings)

Greg Allen delivered a walk-off single to left field with one out in the 11th inning as host Cleveland edged Boston.

Allen drove in Jose Ramirez from third with his bases-loaded bouncing single through the drawn-in infield as Cleveland thwarted Boston’s attempt to win a club-record 106th game for the second consecutive game. The Red Sox also failed to clinch home-field advantage through the playoffs.

Mookie Betts was 4-for-6 with his 31st home run and two runs scored for Boston. The Red Sox also lost shortstop Xander Bogaerts in the seventh inning due to left shoulder soreness. He was removed for precautionary reasons, according to the Red Sox.

Rangers 6, Mariners 1

Pinch hitter Joey Gallo hit a two-run homer, and four Texas pitchers combined for five innings of scoreless relief in a victory over Seattle at Arlington, Texas.

Left-handers Jeffrey Springs (1-1) and Matt Moore and right-handers Chris Martin and Jose Leclerc combined to allow four hits. Springs earned his first major league victory after tossing two innings.

Nomar Mazara hit a two-run double to give the Rangers the lead as they batted around in a four-run sixth. Texas rebounded from a 13-0 loss Saturday night to take two of three games in the weekend series.

Braves 2, Phillies 1

Lane Adams hit a home run, and Anibal Sanchez went five strong innings as Atlanta eliminated visiting Philadelphia from postseason consideration.

One day after clinching a National League East title, the Braves completed their first four-game sweep of the Phillies since June 2014 and their first at home since June 1997.

Adams hit his second home run of the season in the fifth inning, and the seventh of his career in 115 games. He also had an RBI ground-rule double in the second inning. Sanchez (7-6) gave up one run on four hits with no walks and a strikeout.

Rays 5, Blue Jays 2

Blake Snell struck out 11 as he pitched into the seventh inning without allowing a run to set a club record with 21 wins, and visiting Tampa Bay held on to defeat Toronto.

Snell (21-5) held the Blue Jays to three hits and two walks in his 6 2/3 scoreless innings, lowering his American League-leading ERA to 1.90. The left-hander had been tied for the single-season club record in wins with David Price, who won 20 in 2012.

C.J. Cron had a solo homer and an RBI double, and Brandon Lowe added a two-run homer as the Rays gained a split in the four-game series.

Marlins 6, Reds 0

Rookie Trevor Richards pitched seven scoreless innings, and Chad Wallach hit his first career home run, leading host Miami past Cincinnati.

Wallach, Miami’s 26-year-old backup catcher playing just his 19th major league game, hit a three-run homer as part of a four-run third inning. The son of Marlins bench coach and former major league third baseman Tim Wallach, Chad Wallach went 3-for-4 for his first three-hit game.

Richards (4-9) earned his first win since July 14, holding the Reds to three hits and one walk while striking out nine batters, eight of them on his changeup.

Royals 3, Tigers 2

Cam Gallagher had a go-ahead, two-run single, Adalberto Mondesi homered, and Kansas City edged Detroit in the Tigers’ home finale.

Mondesi, Alcides Escobar and Rosell Herrera each had two hits and scored a run for the Royals.

Brad Keller (9-6) limited the Tigers to one run and three hits in seven innings. Kevin McCarthy pitched a scoreless inning prior to Wily Peralta notching his 13th save despite giving up a ninth-inning run.

Mets 8, Nationals 6

Rookie Jeff McNeil racked up four hits, and Michael Conforto’s three-run triple in the fourth inning gave New York the lead for good at Washington.

The Mets took three of four from the Nationals to win the season series, 11-8.

McNeil hit an RBI single immediately before Conforto’s go-ahead hit. It was the third four-hit game for McNeil, who has at least two hits in 19 of 47 starts since he was recalled from Triple-A Las Vegas on July 24.

--Field Level Media