Jonathan Lucroy's two-run single with two outs in the ninth inning gave the Texas Rangers a 7-6 victory over the Oakland Athletics on Friday night.
The Rangers reduced their magic number for clinching the AL West to seven. Pending the Mariners' late game against Houston, Texas needed a combination of seven wins or Seattle losses to guarantee first place.
Lucroy hit a ground ball inside third base to drive in pinch-runners Delino DeShields and Joey Gallo, who had stolen second base when Rougned Odor struck out. Carlos Beltran's one-out double began the winning rally.
Ryan Madson (5-6) had his seven blown save in 37 chances.
Sam Dyson (2-2), the Rangers' fourth pitcher, got the win.
Oakland built a 6-2 lead against Texas starter Cole Hamels on home runs by Khris Davis and Brett Eibner, who drove in four runs.
Davis' homer was his 38th of the season, his eighth in 14 games against Texas and his third against Hamels in only seven at-bats.
Texas came back with two runs in the sixth on Adrian Beltre's double and a run-scoring single by Mitch Moreland. Carlos Gomez led off the seventh with a homer.
Hamels allowed six earned runs in six innings. In his last four starts, he's 0-1 with a 10.50 ERA in 18 innings pitched.
Eibner's sixth homer came with two outs in the sixth.
After Davis' homer in the fourth, Ryon Healy hit his second double of the game and scored on Eibner's two-out single.
Hamels walked three batters. His 75 walks are the most in the American League this season. He has allowed more than three earned runs in three of his last four starts.
Rangers: RF Shin-Soo Choo, on the disabled list since Aug. 16 with a broken left forearm, will begin swinging a bat, but no date has been established for his return. . RHP Tony Barnette (strained left oblique) is not expected to pitch until the final week of the season.
Athletics: Rookie RHP Raul Alcantara (0-1, 7.27) will start the second game of the three-game series on Saturday.
Rangers: RHP Yu Darvish (5-4, 3.28) is scheduled to pitch for Texas on seven days' rest.