MIAMI — Giancarlo Stanton hit his 50th home run to break an eighth-inning tie, helping the Miami Marlins sweep the San Diego Padres with a 6-2 victory on Sunday.

Stanton became the first National League player to reach 50 homers since Prince Fielder hit 50 for Milwaukee in 2007. Stanton’s 17th homer in August tied him for the second-most in MLB history in the month, behind Rudy York’s 18 in 1937.

With the score 2-all, Dee Gordon singled to lead off the eighth. Stanton then drove a 2-1 pitch from Clayton Richard (6-13) into the hedge in center field.

PHILLIES 6, CUBS 3: Rookie Rhys Hoskins homered for the fifth straight game and made a diving catch to start a game-changing triple play in the fifth inning, leading Philadelphia at home.

BREWERS 3, DODGERS 2: Jimmy Nelson took a no-hit bid into the sixth inning and Milwaukee beat Yu Darvish in his return from the disabled list to hand host Los Angeles its first series loss in nearly three months.

METS 6, NATIONALS 5: Amed Rosario hit a tiebreaking homer in the eighth and New York, after blowing a five-run lead, cut down the potential tying run at the plate for the final out in the early game of a doubleheader at Washington.

ROCKIES 3, BRAVES 0: Jon Gray pitched five-hit ball into the seventh inning, Mark Reynolds hit a two-run homer and Colorado won at Atlanta, taking two of three for its first road series win since late July.

DIAMONDBACKS 11, GIANTS 0: Patrick Corbin pitched seven strong innings to win his fourth straight start, J.D. Martinez homered twice and Arizona used a nine-run eighth to thump San Francisco at Phoenix.

PIRATES 5, REDS 2: John Jaso and Starling Marte each drove in two runs and slumping Andrew McCutchen added a run-scoring single to lead Pittsburgh at Cincinnati.

AMERICAN LEAGUE

YANKEES 10, MARINERS 1: Masahiro Tanaka finally flourished under the sun, Starlin Castro had four hits and New York took advantage of a record five errors by Seattle in the first inning on the way to home victory.

Tanaka (10-10) struck out 10 and walked one after entering 0-6 with an 11.81 ERA in seven starts during the day this season.

INDIANS 12, ROYALS 0: Yan Gomes hit a grand slam to highlight Cleveland’s nine-run second inning against two Kansas City rookie left-handers as the Indians completed a three-game shutout sweep at home.

The Indians haven’t given up a run in 28 innings, while Kansas City hasn’t scored in 34 consecutive innings, a team record.

ASTROS 7, ANGELS 5: Brian McCann tripled with the bases loaded in the eighth inning, pushing Houston to a win at Anaheim, California..

TWINS 7, BLUE JAYS 2: Byron Buxton homered three times and set a career high with five RBI, helping Minnesota win at Toronto. Buxton had four hits, scored four runs and stole a base.

ATHLETICS 8, RANGERS 3: Texas starter A.J. Griffin gave up back-to-back homers in the second and retired only 10 batters, and host Oakland completed a three-game sweep.

WHITE SOX 7, TIGERS 1: Lucas Giolito threw seven scoreless innings to earn his first major league victory, and Matt Davidson homered to help Chicago beat visiting Detroit.

INTERLEAGUE

RAYS 3, CARDINALS 2: Logan Morrison hit his second homer of the game in the 10th inning to lift Tampa Bay to a win at St. Louis.