NEW YORK (AP) -- J.D. Martinez hit three homers and had six RBIs as the Detroit Tigers trounced the New York Yankees 12-4 Sunday to end a four-game skid.
Martinez connected off Masahiro Tanaka (4-3) in the first. He struck out looking in the third and led off the fifth with another homer against the Japanese right-hander, who allowed three long balls for the first time in his big league career.
Martinez then went deep off Danny Burawa with two on in the sixth. With a chance to tie the major league record for homers in a game, Martinez flied out to right in the eighth.
Victor Martinez homered and drove in four runs for the Tigers.
Anibal Sanchez (6-7) lost his scoreless streak at 21 2-3 innings when Brian McCann homered.
Stephen Drew hit two home runs for the Yankees, who had won four in a row.
NATIONALS 9, PIRATES 2
WASHINGTON (AP) -- Bryce Harper and Yunel Escobar homered during a nine-run burst in the first inning, leading Washington over Pittsburgh.
Gio Gonzalez (5-4) pitched seven shutout innings as the Nationals completed a three-game sweep.
Pittsburgh arrived at Nationals Park this weekend with an eight-game winning streak. Max Scherzer came within one strike of a perfect game while throwing a no-hitter Saturday, and rookie Joe Ross struck out 11 in the series opener.
Charlie Morton (5-1) had won all five of his starts this season before the Nationals erupted for the biggest first inning in their history.
RED SOX 13, ROYALS 2
KANSAS CITY, Missouri (AP) -- David Ortiz passed two Hall of Famers with his 476th home run as Boston banged out 13 extra-base hits against Kansas City.
Hanley Ramirez hit his team-best 15th homer and Mookie Betts also went deep for the Red Sox, who set a season high for runs. Xander Bogaerts had three doubles, and Wade Miley (7-6) pitched six scoreless innings.
Ortiz homered leading off the fourth to move past Stan Musial and Willie Stargell into 28th place on the career home run list.
Chris Young (6-3) gave up seven runs on three homers, four doubles and three walks in 4 2-3 innings.
PHILLIES 9, CARDINALS 2
PHILADELPHIA (AP) -- Adam Morgan won his major league debut in surprising style, outpitching Michael Wacha and leading Philadelphia past St. Louis.
Winless in the minors this year, Morgan (1-0) allowed one run and six hits in 5 2-3 innings, striking six and walking two against the team with the best record in the majors.
The 25-year-old lefty had been 0-6 in 13 starts at Triple-A this season, and was 13-28 lifetime in the minors. He was called up before the game to pitch in place of Jerome Williams, who's out with a strained left hamstring.
Morgan snapped a 25-game stretch without a win for a Phillies starter dating to May 23, a string that stretched from Memorial Day to Father's Day.
Wacha (9-3) gave up five runs in five innings.
ORIOLES 13, BLUE JAYS 9
TORONTO (AP) -- J.J. Hardy hit a tiebreaking single in the ninth inning as Baltimore recovered after conceding a seven-run lead to beat Toronto.
Jimmy Paredes hit a three-run homer and Chris Davis added a solo shot as the Orioles improved to 13-4 since June 4.
Davis and pinch-hitter Nolan Reimold drew consecutive walks against Brett Cecil (1-4) with one out in the ninth before Hardy grounded an RBI single to center. Ryan Flaherty followed with a two-run triple and scored on a two-out single by Manny Machado.
Darren O'Day (4-0) got two outs to win for the second straight day.
INDIANS 1, RAYS 0
CLEVELAND (AP) -- Roberto Perez slid home with the winning run on David Murphy's bases-loaded sacrifice fly in the ninth inning as Cleveland defeated Tampa Bay.
Rays starter Alex Colome retired his first 16 batters, but Cody Anderson kept the game scoreless in his major league debut for the Indians.
Murphy hit a 3-1 pitch from reliever Kevin Jepsen (1-5) to center field. Kevin Kiermaier made a strong throw home on one bounce, but catcher Curt Casali couldn't come up with the ball as Perez slid across the plate for Cleveland's first walk-off win of the season.
Cody Allen (1-2) pitched the ninth for the win.
CUBS 8, TWINS 0
MINNEAPOLIS (AP) -- Jake Arrieta pitched a four-hitter and Dexter Fowler hit a grand slam, leading Chicago over Minnesota.
After walking a career-high six in his last start, Arrieta (6-6) didn't walk anyone and struck out seven for his second career shutout and first since last Sept. 16 against Cincinnati.
Minnesota has lost 10 of its last 15 and has been blanked three times in June.
Kyle Gibson (4-6) took the loss.
Anthony Rizzo hit a solo home run in the fifth. Starlin Castro added three hits and an RBI and rookie slugger Kyle Schwarber drove in two runs.
REDS 5, MARLINS 2
CINCINNATI (AP) -- Todd Frazier and Jay Bruce hit two-run homers as Cincinnati beat Miami.
Frazier hit a two-run homer in the first inning off David Phelps (4-4), his fifth homer in the last five games.
Bruce's 11th homer in the sixth inning snapped a 2-all tie and extended his hitting streak to five games. He's 10 for 20 during the streak with a pair of homers.
Michael Lorenzen (3-2) went seven innings and singled home a run as he won back-to-back starts for the first time in his career.
Aroldis Chapman escaped a bases-loaded, none-out jam in the ninth, getting three strikeouts for his 15th save in 16 chances.
WHITE SOX 3, RANGERS 2, 11 INNINGS
CHICAGO (AP) -- Gordon Beckham led off the bottom of the 11th inning with a homer and Melky Cabrera went 5 for 5 as Chicago beat Texas.
The White Sox have won two straight after losing a season-high eight straight games.
Ryan Rua and Leonys Martin homered for the Rangers.
Beckham homered on the first pitch in the 11th inning from Rangers reliever Alex Claudio (1-1).
Jake Petricka (2-2) got Hanser Alberto to ground into an inning-ending double play with the bases loaded in the 11th.