BALTIMORE — Kevin Gausman outpitched Cole Hamels, and the Baltimore Orioles rode a three-run first inning to a 3-2 victory over the Texas Rangers on Wednesday night.

Matt Wieters had two RBI for the AL East-leading Orioles, whose 39-16 record at home is the best in the majors. Baltimore will seek to complete a three-game sweep on Thursday in a series between first-place teams.

TWINS 13, INDIANS 5: Joe Mauer had four hits and four RBI, Brian Dozier hit a three-run homer and Minnesota continued its mastery over Cleveland with a win on the road.

Cleveland, the AL Central leader, fell to 4-8 against last-place Minnesota.

TIGERS 2, WHITE SOX 1: J.D. Martinez broke an eighth-inning tie with a pinch homer on the first pitch he had faced since June and Detroit won at home for its eighth straight victory.

BLUE JAYS 3, ASTROS 1: Josh Donaldson hit two home runs, and Marco Estrada threw seven solid innings as Toronto won at Houston.

Jose Bautista hit his second home run in as many nights in the sixth as he and Donaldson went back-to-back.

RAYS 12, ROYALS 0: Jake Odorizzi had his third consecutive scoreless start, and Steven Souza Jr. homered for the first time in two months as Tampa Bay won at home.

NATIONAL LEAGUE

PADRES 12, BREWERS 3: Edwin Jackson pitched seven scoreless innings and had an RBI double, and Jabari Blash hit his first major league home run to help San Diego win in a rout at home

CUBS 5, MARLINS 4: The Cubs rallied for three runs in the bottom of the ninth inning – capped by a bases-loaded walk for a tie and a wild pitch to score the winning run – and a sweep of the three-game series at Wrigley Field.

Miami’s Ichiro Suzuki lined out softly to shortstop as a pinch hitter in the seventh inning to remain at 2,998 career hits.

NATIONALS 8, DIAMONDBACKS 3: Max Scherzer (12-6) struck out 11 in eight innings and delivered a two-run single to help his cause in a win at Phoenix.

Washington earned its fourth road series sweep of the season.

BRAVES 8, PIRATES 4: Ender Inciarte broke a tie with an RBI single in the fifth inning and offensively challenged Atlanta had 15 hits to beat Pittsburgh.

CARDINALS 5, REDS 4: Brandon Moss singled home a pair of runs during St. Louis’ four-run first inning, extending his season-long streak against the Reds as St. Louis won at Cincinnati.

For the season, Moss is 12 of 28 (.429) against the Reds with three doubles and five homers.

ROCKIES 12, DODGERS 2: Carlos Gonzalez homered twice before leaving with an apparent ankle injury in a win at Denver.

PHILLIES 5, GIANTS 4: Maikel Franco had a bases-loaded single in the 12th inning as Philadelphia came from behind to win at home.

INTERLEAGUE

YANKEES 9, METS 5: Mark Teixeira hit a tiebreaking, three-run drive off Steven Matz in the second inning for his first home run against a left-hander in more than a year, then got hit by a pitch that sparked a bench-clearing dustup in their Subway Series at Yankee Stadium.