The Rays are the lowest-scoring team in the American League and have lost four 1-0 games since Aug. 5 — including Tuesday night. But Tampa Bay found its stride against Harrison, who was coming off one of the best starts of his career.

“Our hitters have a decent history against him,” Rays manager Joe Maddon said. “I think it's one of those things where our guys see him pretty well. And perhaps he doesn't see them that well.”

Harrison (15-8) allowed seven runs and 12 hits in 51/3 innings.

The Rays have scored 14 runs with 26 hits in two starts against Harrison, who was looking to tie for the league lead in wins.

“I put us in a big hole early in the game,” Harrison said. “I didn't give us a chance.”

After dropping the last two against the AL West-leading Rangers by one run, the Rays avoided the three-game sweep. Tampa Bay had scored only 11 runs during its losing skid before breaking out for 16 hits against Texas.

“We knew we had to jump out fast,” said B.J. Upton, who hit a three-run homer in the second that put the Rays on top 6-0. “We did that and kind of kept our foot down.”

Josh Hamilton hit his 36th home run for Texas, a solo shot that brought the Rangers to within 6-4 in the fifth. The homer also gave him 112 RBIs, which leads the majors.