Boston Red Sox's David Ortiz watches his two-run home run off Chicago White Sox starting pitcher Carlos Rodon, also scoring Xander Bogaerts, during the fifth inning of a baseball game Wednesday, May 4, 2016, in Chicago. Watching with Ortiz is catcher Dioner Navarro. (AP Photo/Charles Rex Arbogast)
Boston Red Sox's David Ortiz watches his two-run home run off Chicago White Sox starting pitcher Carlos Rodon, also scoring Xander Bogaerts, during the fifth inning of a baseball game Wednesday, May 4, 2016, in Chicago. Watching with Ortiz is catcher Dioner Navarro. (AP Photo/Charles Rex Arbogast) Credit: ap — Charles Rex Arbogast

Chicago — David Ortiz hit his 509th home run to put the Boston Red Sox ahead to stay in a 5-2 victory over the Chicago White Sox on Wednesday night.

Ortiz’s two-run shot to right field off Carlos Rodon in the fifth inning tied him with Gary Sheffield for 25th all-time. It was his sixth homer of the season and 451st with Boston, one off Carl Yastrzemski’s club mark.

Ortiz added an RBI single in the seventh against Zach Duke, and embattled Clay Buchholz (1-3) was sharp over seven innings in Boston’s fourth win in five games.

Jose Abreu’s two-run homer in the first was the only blemish for Buchholz, who allowed three hits and struck out six.

Cubs 6, Pirates 2

Pittsburgh — Ben Zobrist hit a three-run homer, Anthony Rizzo also connected and Jon Lester worked out of a pair of jams to lead Chicago over Pittsburgh for a three-game sweep.

Zobrist’s third-inning homer put Chicago ahead after center fielder Andrew McCutchen dropped Rizzo’s two-out liner for an error. Lester (3-1) scattered eight hits in 5 scoreless innings, struck out five and walked two.

With its seventh win in eight games, Chicago improved to a major league-best 20-6. The Cubs have won seven straight road games and completed their first sweep in Pittsburgh since Sept. 7-9, 2012.

Mets 8, Braves 0

New York — Steven Matz (4-1) allowed two hits over 7 innings, Lucas Duda hit two of the Mets’ four home runs and New York extended its streak of winning series to six for the first time since August and September 2006.

Matz (4-1) struck out eight and walked none. He has a 0.67 ERA over his last four outings.

Reds 7, Giants 4

Cincinnati — Brandon Phillips, Eugenio Suarez and Zack Cozart homered in a five-run second against Jake Peavy (1-3).

Peavy allowed seven runs and eight hits in six innings, raising his ERA to 9.00 in six starts. He had been 7-0 with a 2.38 ERA in 12 starts against the Reds.

Adam Duvall added a solo shot for the Reds, and Dan Straily (1-1) overcame solo homers by Brandon Belt and Conor Gillaspie for his first major league win since April 10, 2014, with Oakland.

Angels 7, Brewers 3

Milwaukee — Mike Trout had an RBI triple and sparked a four-run eighth with a solo homer.

Trout tied the game at 3 after leading off the eighth with a drive to right on a hanging curveball from Tyler Thornburg (2-1). Five batters later, pinch-hitter C.J. Cron drove in the go-ahead run after looping a two-out double. Trout, a four-time All-Star,has 18 RBIs in his last 13 games after a slow start.

Nationals 13, Royals 2

Kansas City, Mo. — Daniel Murphy finished a triple shy of the cycle, slumping slugger Bryce Harper also went deep. Murphy and Clint Robinson drove in three runs apiece.

Stephen Strasburg (5-0) allowed two runs and five hits in six innings while striking out seven.

Kris Medlen (1-3) gave up nine runs, six of them earned, and six hits in two-plus innings for Kansas City. His home ERA rose to 20.65 in two starts at Kauffman Stadium this season.

Mariners 9, Athletics 8

Oakland, Calif. — Dae-Ho Lee hit a go-ahead two-run homer in the seventh after an earlier solo shot for his first career multi-homer game, and Seattle completed a three-game sweep.

Mike Montgomery (1-0) pitched two scoreless innings for the win on a day Nelson Cruz also homered, a rare shot into the second deck of seats in dead-center.

Rockies 2, Padres 0

San Diego — Tyler Chatwood (4-2) pitched three-hit ball for eight innings in his sixth start since Tommy John surgery, sending San Diego to its eighth shutout loss in 28 games this season.

Jake McGee pitched perfect ninth for his seventh save.

Christhian Adams grounded into an RBI in the fifth, and DJ LeMahieu’s squeeze bunt scored Mark Reynolds in the ninth.

Marlins 4, Diamondbacks 3

Miami — Giancarlo Stanton homered and drove in two runs for Miami.

Jose Fernandez (3-2) allowed three runs in five innings while striking out seven for the Marlins, who have won nine of 10.

Miami held Arizona scoreless over the final four innings for the win.

Blue Jays 4, Rangers 3

Toronto — Russell Martin singled home the winning run in the bottom of the ninth inning and Toronto beat Texas.

Edwin Encarnacion singled off Tony Barnette (1-2) to begin the ninth and was replaced by pinch-runner Ezequiel Carrera. Justin Smoak walked, Troy Tulowitzki popped up and Kevin Pillar walked to load the bases for Martin, who drove a ball beyond the reach of Nomar Mazara into the right field corner.

Indians 4, Tigers 0

Cleveland — Corey Kluber pitched a five-hit shutout and Cleveland used a four-run fourth inning to defeat Detroit for the fifth straight time this season.

Kluber (2-3) worked out of jams in the second and fourth to beat Detroit for the second time in two weeks. The right-hander, who won the AL Cy Young Award in 2014, struck out seven and walked two in his second career shutout and eighth complete game.

Rays 8, Dodgers 5

St. Petersburg, Fla. — Steve Pearce hit one of four Tampa Bay homers, a go-ahead three-run shot in the sixth inning, and the Rays beat the Dodgers.

Brandon Guyer, Steven Souza Jr. and Curt Casali added solo home runs for the Rays, who went 4-4 on an eight-game homestand.

Pearce chased Alex Wood (1-3) with his third homer this season to put Tampa Bay ahead 5-2. Pearce has all three over a 17 at-bat span.

Guyer homered in the first. Casali went deep during a three-run seventh as the Rays took an 8-2 lead.

Yankees 7, Orioles 0

Baltimore — CC Sabathia pitched seven sharp innings, Brian McCann drove in three runs and the Yankees ended their six-game losing streak

Playing in his 1,000th major league game, Jacoby Ellsbury went 3 for 3 with two walks to help the Yankees improve to 9-16 and avoid their worst skid since April 2007.

Sabathia (2-2) turned in his best performance of the season at a time when New York desperately needed a victory. The lefty allowed six hits, walked two and struck out six.

After giving up three runs in each of his first four starts, the 35-year-old Sabathia craftily used a variety of off-speed pitches to earn his first win in nine tries at Camden Yards since 2011.