New York Yankees' Didi Gregorius tosses his bat after hitting a home run during the fifth inning of a baseball game against the Texas Rangers Thursday, June 30, 2016, in New York. (AP Photo/Frank Franklin II)
New York Yankees' Didi Gregorius tosses his bat after hitting a home run during the fifth inning of a baseball game against the Texas Rangers Thursday, June 30, 2016, in New York. (AP Photo/Frank Franklin II) Credit: Frank Franklin II

New York — Chase Headley scored on a passed ball with two outs in the bottom of the ninth, and the Yankees won in their final at-bat for the second straight game to beat the Texas Rangers 2-1 on Thursday afternoon.

Four New York pitchers combined to strike out 16 Rangers as the teams split the four-game series. Didi Gregorius, who had the winning home run Wednesday night, hit a solo shot in the fifth to tie the score after Shin-Soo Choo homered to lead off the game.

Tony Barnette (5-3), the third Rangers reliever of the afternoon, walked Headley to lead off the bottom of the ninth. With runners on second and third and two outs, his pitch got through catcher Robinson Chirinos and Headley just beat the throw.

Aroldis Chapman (2-0) earned the win after pitching a scoreless ninth.

Indians 4, Blue Jays 1

Toronto — Carlos Carrasco struck out a season-high 14, Jason Kipnis and Rajai Davis hit solo home runs and the Indians matched a franchise record by winning their 13th consecutive game.

Cleveland’s streak is the longest by any team this season, and the longest for the Indians since winning 13 straight in 1951. Cleveland also won 13 in a row in 1942.

Indians starting pitchers are 10-0 during the streak, and Cleveland has outscored its opponents 80-26.

Carrasco (4-2) allowed one run and three hits in 7 innings to win back-to-back starts for the first time since April 13 and 19. The right-hander was sidelined from April 25 to June 2 with a strained left hamstring.

White Sox 6, Twins 5

Chicago — J.B. Shuck’s two-out single scored the tiebreaking run in the eighth inning, Todd Frazier hit his 23rd home run and Chicago beat Minnesota.

Fernando Abad (1-2) got the first two batters in the eight before consecutive walks. Shuck’s career high-tying third hit of the game to left scored Avisail Garcia from second.

Dodgers 8, Brewers 1

Milwaukee — Trayce Thompson, Yasmani Grandal and Corey Seager hit home runs, leading Los Angeles over Milwaukee.

Kenta Maeda (7-5) held the Brewers to one run over six innings as the Dodgers won the season series from the Brewers, five games to two.

Royals 4, Cardinals 2

St. Louis — Kendrys Morales homered and recorded his sixth straight multi-hit game to lead Kansas City over St. Louis.

Kansas City won for the fourth time in five games and took the two-city, four-game series three games to one.

Brandon Moss and Jhonny Peralta homered for the Cardinals, who have lost their last seven home games — their longest losing streak since Aug. 2-15, 1983.

Nationals 13, Reds 4

Washington — Danny Espinosa hit a grand slam and a three-run homer to finish with a career-high seven RBIs, and the Nationals cruised past Cincinnati for their fifth straight victory.

Espinosa’s second career slam put Washington up 8-1 in the third inning, and his next drive made it 13-1 in the fourth. Espinosa ranks second on the team with 15 homers despite usually batting eighth.

Mets 4, Cubs 3

New York — Yoenis Cespedes socked a colossal home run, Jeurys Familia pitched out of a huge jam in the ninth inning and rookie replacement Brandon Nimmo keyed a three-run rally in the seventh that sent New York past Chicago in their first meeting since last year’s NL Championship Series.

Chicago put runners on second and third with no outs against Familia, who got two strikeouts and a bases-loaded popup for his 27th save, most in the majors. He screamed and pumped his arms repeatedly after Javier Baez popped up to end it.

Tigers 10, Rays 7

St. Petersburg, Fla. — Cameron Maybin capped a dramatic eight-run ninth inning with a tiebreaking three-run double, and Detroit overcame a five-run deficit to beat Tampa Bay.

Detroit trailed 7-2 entering the ninth and opened the inning with four consecutive hits off Ryan Garton, including Victor Martinez’s RBI single.

Erasmo Ramirez (7-7) replaced Garton and allowed Justin Upton’s run-scoring single, Steven Moya’s sacrifice fly and an RBI single to Jarrod Saltalamacchia that made it 7-6.