Updated

ST. PETERSBURG, Fla. (AP) -- Tim Beckham snapped an eighth-inning tie with a two-out, bases-loaded single that gave the Tampa Bay Rays a 3-1 victory over the Baltimore Orioles on Friday night.

The sputtering Rays rallied after being limited to two hits over seven innings by Orioles starter Chris Tillman, who came within six outs of winning his sixth straight decision before walking Kevin Kiermaier leading off the eighth.

Kiermaier stole second and raced home on John Jaso's two-out single off reliever Darren O'Day (5-1) to make it 1-1. Evan Longoria followed with a bloop single and James Loney was walked intentionally before Beckham singled up the middle.

Alex Colome (4-4) pitched a scoreless eighth, and Jake McGee worked the ninth for his fifth save.

The Orioles lost for the first time this season when leading after seven innings.