ST. PETERSBURG, Fla. (AP) — Texas Rangers pitcher Yovani Gallardo has recently been caught in a really bad run.

Gallardo lost his fourth straight start Friday night as Texas fell to the Tampa Bay Rays 8-2. In those defeats, Rangers hitters have backed him with a total of two runs.

"It's just one of those things you can't explain that happens in this game," he said. "The only thing I can do is go out there and make a pitch. Anything after that, I can't control."

Gallardo (2-5) gave up four runs and three hits in 5 1-3 innings. Texas had won four in a row overall.

"We really haven't scored any runs for him. That's not indicative of anybody that's throwing the ball poorly," manager Jeff Banister said. "I think he's throwing the ball well. He continues to compete, throws good pitches. We're still pleased with the way he's pitching."

Gallardo was satisfied with how he threw.

"Today's the best I've felt honestly," he said. "I had a good slider, a good fastball, I was able to move to both sides of the plate."

Nathan Karns took a shutout into the eighth inning, and pinch hitter Brandon Guyer backed him with a three-run homer.

Karns (2-1) allowed two hits through seven scoreless innings before Adam Rosales homered to lead off the eighth.

"As long as I was effective, they let me keep going," said Karns, who struck out a career-high nine. "Then in the eighth when the first two guys got hits, it was time to pull me and go to the bullpen."

Evan Longoria hit an RBI single that finished Gallardo in the sixth. Reliever Alex Claudio threw only one pitch in the game, and Guyer sent it into the left-field seats for the first pinch-hit homer of his career and a 5-0 lead.

The Rangers rallied to score twice in the eighth. After Rosales homered, Texas loaded the bases with no outs before Xavier Cedeno struck out Prince Fielder.

Adrian Beltre cut the Rangers' deficit to 5-2 with a sacrifice fly to the center-field warning track off Kevin Jepsen. A walk reloaded bases, and Jepsen struck out Carlos Peguero to end the inning.

TRAINER'S ROOM

Rangers: 1B Mitch Moreland (left shoulder) will join Triple-A Round Rock on Saturday. ... LHP Derek Holland (right shoulder) might start throwing in two weeks.

Rays: LHP Drew Smyly went on the 15-day disabled list with shoulder soreness . . . LHP Matt Moore (elbow surgery) had his second batting practice session.

UP NEXT

Rangers LHP Ross Detwiler (0-3) will pitch against RHP Matt Andriese, who was called up Friday night from Triple-A Durham.

ANCHORS AWEIGH

Navy Secretary Ray Mabus threw the ceremonial first pitch. There was also a swearing-in ceremony for new Naval recruits.