The Boston Red Sox have spent the last 50 days in the state of Florida, and they left the Sunshine State on a high note thanks to Hanley Ramirez.

The Red Sox and Miami Marlins were deadlocked at one for the majority of Tuesday night’s contest at Marlins Park, playing deep into extra innings. An Andrew Benintendi RBI single in the 11th gave Boston a one-run lead, but the Marlins answered in the bottom of the inning to extend the game.

Then in the 13th inning, Ramirez strolled to the plate after Miami intentionally walked Benintendi to face the Red Sox first baseman. With runners on first and second and two out, “El Trece” delivered for Boston, crushing a two-run double to deep left field to give the Sox a 4-2 lead they would not relinquish.

The Red Sox won their fifth game in a row and improve to 5-1, while the Marlins fall to 2-4.

Here’s how it all went down:

IT WAS OVER WHEN…
Heath Hembree nailed down the win in the 13th inning.

ON THE BUMP
— Chris Sale didn’t have his best stuff Tuesday, but he still cruised through the first three innings unscathed. Miami got to him in the fourth inning, though. Brian Anderson smacked a two-out singled to center, followed by a Justin Bour double into right-center field. The ball got by J.D. Martinez in right, allowing Anderson to motor all the around to tie the game at one.

Sale recorded the final out of the fourth inning and worked a 1-2-3 fifth before being pulled after throwing 93 pitches. He allowed the one run on five hits while striking out six and walking none over five innings.

— Bobby Poyner took over in the sixth inning, pitching a scoreless frame with two strikeouts. The lefty also recorded the first two outs of the seventh but was lifted after giving up a two-out single to Cameron Maybin.

— Carson Smith recorded the final out of the seventh by striking out Miguel Rojas.

— Joe Kelly tossed a 1-2-3 eighth with one strikeout. The hard-throwing right-hander also worked the ninth, allowing a hit but getting out of the frame unharmed.

— Craig Kimbrel worked a scoreless 10th inning.

— Barnes pitched the 11th but was unable to nail down the save. After recording the first two outs of the inning, Barnes issued back-to-back walks and then Maybin crushed a ball over the head of Benintendi. While one run scored, Bour was cut down at home to send the game to the 12th.

— Hembree recorded two scoreless innings to earn the win.

IN THE BATTER’S BOX
— Boston got on the board early when Martinez shot a two-out RBI single to right field in the first inning to plate Benintendi.

— The Red Sox threatened to take the lead in the top of the sixth when Benintendi and Ramirez each reached base in front of Martinez. But the slugger was unable to come through against Marlins starter Jose Urena, grounding into a 6-4-3 double play to end the frame.

— Mookie Betts pinch hit to begin the 11th inning and blasted a shot that to dead center field that was ticketed for the seats. But Brinson lept up and reached over the wall to make an amazing home-run robbing catch to keep the game knotted at one.

The Red Sox didn’t quit, however, as Eduardo Nunez followed the Betts flyout by shooting a double down the left-field line to put the go-ahead run at second base. Benintendi promptly bounced a ground ball through the right side of the infield, scoring Nunez from second and giving the Sox a 2-1 lead.

— Boston retook the lead in the 13th inning. Betts got on base via a one-out single and moved to second on a Nunez groundout. The Marlins elected to walk Benintendi with two outs to face Ramirez and the first baseman made them pay by smoking a two-run double to deep left-center field.

TWEET OF THE NIGHT
Air JBJ.

UP NEXT
The Red Sox will return to Boston for their home-opener Thursday against the Tampa Bay Rays. David Price is scheduled to get the ball for Boston, while the Rays have not yet announced a starter. First pitch from Fenway Park is scheduled for 2:05 p.m ET.

Thumbnail photo via Steve Mitchell/USA TODAY Sports Images