NEW YORK (AP) -- Masahiro Tanaka tamed the highest-scoring team in the majors and the New York Yankees stopped a four-game skid, beating Oakland 2-1 Thursday and ending the Athletics' five-game winning streak.

Craig Gentry #3 of the Oakland Athletics steals second base in the ninth inning ahead of the tag from Derek Jeter #2 of the New York Yankees. (Photo by Jim McIsaac/Getty Images)

Facing the A's for the first time, Tanaka (9-1) got an early jolt when John Jaso homered as the second batter in the game. But that was the only run Tanaka allowed in six innings, and he left with an AL-leading 2.02 ERA.

David Robertson worked the ninth for his 13th save in 15 chances, helped by a lucky bounce.

Stephen Vogt singled with one out and pinch-runner Craig Gentry stole second. Alberto Callaspo followed with a hard grounder that deflected off Robertson's leg, and first baseman Mark Teixeira corralled the carom and flipped to the pitcher covering the bag for an out. Pinch-hitter Derek Norris looked at strike three for the final out.

Shortly after he was inserted for speed and defense, Yankees right fielder Ichiro Suzuki blunted Oakland's bid to tie it in the eighth with a sliding catch on Brandon Moss' liner into the gap with runners on first and second. After a wild pitch, Adam Warren struck out Yoenis Cespedes to end the inning.

Brett Gardner hit a leadoff homer in the third against Drew Pomeranz (5-3) for a 2-1 lead.

Jacoby Ellsbury almost hit a two-run homer for the Yankees. After Derek Jeter singled in the first, Ellsbury hit a drive to the top of the right-field wall, hustled around the bases and slid into second.

The umpires, however, ruled it a home run and Ellsbury got up and trotted to the plate and into the dugout. A's manager Bob Melvin challenged the call and it was overturned to a double.

Carlos Beltran then struck out to finish the inning. On the disabled list since May 15 because of a bone spur in his right elbow, Beltran was activated and went 0 for 3.

Tanaka gave up five hits, struck out four and walked one. He retired 10 straight batters after Jaso's homers and left several A's taking tentative swings.

As Tanaka has demonstrated during his first 12 starts in the majors - at least six innings with three or fewer earned runs, all of them - he toughens up when there's trouble. The Japanese rookie twice escaped two-out, two-on jams, and threw 104 pitches overall.

Alfonso Soriano broke an 0-for-16 slump with an RBI single in the second, set up when Brian McCann singled and continued to second as the ball skipped past Moss in left field for an error.

Soriano later wound up with a gift double when center fielder Coco Crisp lost a routine fly in a bright sun.

Pomeranz pitched a season-high seven innings, giving up six hits and one earned run.