NEW YORK (AP) — Craig Gentry, starting for the first time in two weeks, hit a two-out, two-run single in the seventh inning that put Texas ahead in a 10-6 victory over New York on Thursday.

Adrian Beltre had three RBIs while Josh Hamilton doubled twice and scored three times for the Rangers, who avoided a four-game sweep in a matchup of AL division leaders.

Texas had lost eight straight at Yankee Stadium overall. The Rangers had done little in this series, too, totaling four runs before Thursday.

Ichiro Suzuki got three hits for the Yankees, who had won seven of eight.

The Yankees rallied for a 5-4 lead before the Rangers came back with three runs in the seventh.

David Murphy hit a tying RBI double off Boone Logan (4-1) and, after an intentional walk that loaded the bases, Gentry lined a tiebreaking single up the middle off Joba Chamberlain.

Reliever Tanner Scheppers (1-0) won his first big league decision.