ST. PETERSBURG, Fla. (AP) Wil Myers tied it with a two-run single on a jarring play in the seventh inning then pinch-hitter James Loney stunned the Orioles with a leadoff homer in the ninth, and the Tampa Bay Rays completed a four-game sweep that put a serious damper in Baltimore's wild-card hopes with a 5-4 victory Monday.
The Orioles lost All-Star third baseman Manny Machado to a leg injury in the top of the seventh.
The win pushed the Rays a full game ahead of idle Cleveland for the top AL wild card. Baltimore fell five games behind the Indians with six games to go for both teams.
With the bases loaded, two outs and trailing 4-2 in the seventh, Myers sent a flare behind second base. Second baseman Alexi Casilla, who entered the game in the eighth, made a fully extended diving catch but he collided with Nick Markakis, racing in toward the ball from right field. The ball came loose and two runs scored.
Hitting for Sean Rodriguez, Loney lined an 0-1 pitch from Tommy Hunter (6-5) down the right field line.
Joel Peralta (3-8) pitched a perfect ninth for the Rays, who have won nine of 12.
Chris Davis hit his major league-best 52nd homer for Baltimore.
RANGERS 12, ASTROS 0
ARLINGTON, Texas (AP) - Alex Rios hit for the cycle and Derek Holland struck out nine in his second shutout of the season as Texas started its final push for a playoff spot.
The Rangers pulled within a game of idle Cleveland for the second AL wild-card berth with six games remaining.
Rios finished off the cycle with a triple to right-center field in the sixth inning, and later scored to put Texas up 11-0. He doubled in the first inning, had an infield single in the third and hit his 18th homer in the fourth.
Holland (10-9) got his 10th win in his ninth try since his last victory on Aug. 4. The left-hander won at home for the first time since May 31.
Houston starter Jordan Lyles (7-9) gave up seven hits and seven runs with three walks in three innings.
The first cycle of Rios' career was the seventh in Rangers' history. Adrian Beltre was the last to do it, last Aug. 24 against Seattle.
It was the third cycle in the majors this year - Mike Trout of the Los Angeles Angels on May 21 and the Astros' Brandon Barnes on July 19, both against Seattle.
WHITE SOX 3, BLUE JAYS 2
CHICAGO (AP) - Jose Quintana pitched into the eighth inning and rookie Marcus Semien hit his first major league homer to lead Chicago.
Quintana (9-6), who entered the game with the most no-decisions in the American League at 17, allowed two runs and five hits in 7 1-3 innings. Addison Reed pitched the ninth inning to record his 39th save.
Toronto starter J.A. Happ (4-7) threw 110 pitches in his five innings, allowing three runs and eight hits.
In the second inning Semien hit an 0-2 pitch from Happ down the line and well over the fence for a 2-0 lead. Semien was called up on Sept. 4.
The Blue Jays cut the lead in half as catcher J.P. Arencibia led off the fifth inning with his 21st homer, but the White Sox got the run back in the bottom of the inning when Avisail Garcia led off with a homer to make it 3-1.
The Blue Jays closed the gap to 3-2 on a run-scoring single by Ryan Goins in the eighth.