BALTIMORE >> Cedric Mullins hit a two-run double in the ninth inning to give the Baltimore Orioles a 6-5 victory over the New York Yankees on Sunday — after an error by shortstop Anthony Volpe kept the two-out rally going.

The Yankees actually made two defensive misplays in the ninth. Mullins’ liner appeared catchable, but left fielder Alex Verdugo started in at first and couldn’t recover well enough to prevent the ball from going over him.

Ben Rice hit a three-run homer in the top of the ninth off Craig Kimbrel (6-2) to put the Yankees up 5-3, but New York’s closer couldn’t hold a lead either. Clay Holmes (1-4) allowed the Orioles to load the bases with two out. Then Ryan Mountcastle’s grounder should have ended it, but Volpe’s error made it 5-4 and kept the bases loaded.

Mullins, who came on as a pinch-runner the previous inning, delivered the big hit that snapped Baltimore’s five-game winning streak and enabled the Orioles to take a one-game lead over the Yankees in the AL East into the All-Star break.

Baltimore went 1 for 8 with runners in scoring position and 2 for 22 in the series, but Mullins enabled the Orioles to avoid a three-game sweep at home. Anthony Santander and Gunnar Henderson homered for Baltimore. Trent Grisham went deep for New York.

RAYS 2, GUARDIANS 0 >> Ryan Pepiot allowed two hits in six scoreless innings, Jose Siri and Brandon Lowe homered, and Tampa Bay beat AL Central-leading Cleveland.

RED SOX 5, ROYALS 4 >> Rafael Devers hit a two-run homer that broke a seat deep in right field at Fenway Park, Dominic Smith also had a two-run shot and Boston beat Kansas City to take the series.

RANGERS 4, ASTROS 2 >> Josh Smith homered twice with four RBIs to lead Texas to a win over Houston.

ROCKIES 8, METS 5 >> Michael Toglia became the first Colorado switch-hitter to homer three times in a game, leading them to a victory over New York.

CUBS 8, CARDINALS 3 >> Pete Crow-Armstrong and Christopher Morel each homered twice to lead Chicago to a victory over St. Louis.

MARLINS 3, REDS 2 >> Xavier Edwards’ RBI single in the eighth inning gave Miami a victory over Cincinnati.

TIGERS 4, DODGERS 3 >> Yohan Ramírez had two consecutive errors in the ninth inning, paving the way for Detroit to beat Los Angeles for their second straight comeback win over the NL West leaders..

PIRATES 9, WHITE SOX 4 >> Joey Bart and Bryan Reynolds homered, Ke’Bryan Hayes had three hits and Pittsburgh won their fourth straight game, beating Chicago.

BREWERS 9, NATIONALS 3 >> Willy Adames had a homer and four RBIs, Garrett Mitchell homered for the first time in more than a year and Milwaukee avoided a series sweep with a victory over Washington.

BRAVES 6, PADRES 3 >> Travis d’Arnaud had two home runs and four RBIs, Chris Sale pitched five solid innings for his major league-leading 13th win and Atlanta beat San Diego in the final game before the All-Star break.

BLUE JAYS 8, DIAMONDBACKS 7 >> Vladimir Guerrero Jr. hit a go-ahead solo homer, Kevin Kiermaier added a grand slam and Toronto recovered from blowing a seven-run lead to beat Arizona.

ANGELS 3, MARINERS 2 >> Jo Adell hit a three-run homer in the eighth inning and Carson Fulmer threw four hitless innings to lead Los Angeles to a win over Seattle.