ST. PETERSBURG, Fla. — Mookie Betts doubled to extend his career-best hitting streak to 13 games and scored on Brock Holt’s 10th-inning single to give the Boston Red Sox a 4-3 victory over the Tampa Bay Rays on Friday night.

Betts lifted a perfectly placed fly ball that dropped down the left field line to give him the Red Sox’s longest hitting streak since Jacoby Ellsbury had a 19-game streak in 2013. Holt followed with his game-winning hit off Steve Geltz (1-3).

Alexi Ogando (2-0) came out of the bullpen in the ninth inning to get the win, retiring the only batter he faced to escape a jam with runners at second and third base. Koji Uehara pitched a perfect 10th for his 15th save.

Alejandro De Aza and Jackie Bradley, Jr. drove in second-inning runs to help Boston build a 3-1 lead against Alex Colome, who allowed four hits, walked five and struck out two over six innings.

Newly acquired Marc Krauss doubled to drive in a run his first at-bat for Tampa Bay, and the Rays scored twice in the sixth on David DeJesus’ sacrifice fly and a wild pitch to make it 3-3.

Red Sox starter Rick Porcello, who has lost six straight decisions since last winning at Seattle on May 16, allowed three runs and nine hits in six innings. The right-hander walked one and struck out five.

The Rays, needing help at first base because of injuries, obtained Krauss from the Los Angeles Angels for minor league pitcher Kyle Winkler on Thursday. His second-inning double drove in Logan Forsythe, who had three hits off Porcello.

Joey Butler opened the Tampa Bay sixth with a single, moved to third on Evan Longoria’s double and scored on DeJesus’ sacrifice fly. Longoria tagged up on the long ball to center field and scored the tying run from third on Porcello’s wild pitch.