Boston Red Sox

Jun 13, 2019; Boston, MA, USA; Boston Red Sox first baseman Michael Chavis (23) watches his home run during the fourth inning against the Texas Rangers at Fenway Park. Mandatory Credit: Bob DeChiara-USA TODAY Sports

BOSTON – It wasn’t how the Red Sox scripted it, but they’ll take it.

The Sox erased a 6-1 deficit and beat the Texas Rangers 7-6 Thursday night to earn a split of the four-game series. With the win, the Sox moved to 36-34 on the year and pulled within one game of Texas for the second Wild Card spot in the American League.

The Red Sox hit a season high five home runs to pull off the comeback. J.D. Martinez homered in the first, Jackie Bradley Jr. hit a three-run shot in the second, Michael Chavis hit a solo shot in the fourth, before Rafael Devers tied the game in the fifth:

In the home half of the seventh inning, Xander Bogaerts finally put the Red Sox in the lead:

Alex Cora had to turn to his bullpen in the second inning after David Price was rocked, giving up six runs in just 1 1/3 innings. Seven Red Sox relievers would then combine for 7 2/3 scoreless innings of work.

Rookie Mike Shawaryn shouldered much of the load, tossing 2 1/3 innings. Colten Brewer record one out, before Travis Lakins, Marcus Walden, Brandon Workman, and Matt Barnes pitched an inning each to bridge the gap to the ninth inning.

With Heath Hembree unavailable with forearm tightness, Alex Cora had to call on the last man available in his bullpen: Josh Smith. Smith stranded two men to earn his first major league save.

The Sox open up a series in Baltimore on Friday.