Russell Martin led off the bottom of the 10th inning with a homer off Sean Doolittle, and the AL East-leading New York Yankees beat the Oakland Athletics 2-1 Friday night for their sixth straight win.

Brandon Moss hit a towering home run to right field with one out in the ninth inning off Rafael Soriano to spoil a dominant three-hit outing for CC Sabathia to tie it 1-all, stunning the boisterous crowd of 40,759 into silence. It was Soriano's fourth blown save in 46 chances.

With the win the Yankees have a chance to move two games up on the Baltimore Orioles for the first time since Sept. 2. The Orioles were playing in Boston. The A's, losers of four of five, were tied with Baltimore for the wild-card lead.

Curtis Granderson had a sacrifice fly in the fourth inning and Ichiro Suzuki continued his torrid pace with two more hits — one getting caught in Jarrod Parker's jersey.

The Yankees lost four-straight one-run games in Oakland in mid-July that began a summer swoon in which they blew a 10-game division lead. Martin's second walkoff homer this season gave the Yankees their ninth win in 11 games.

Orioles 4, Red Sox 2

BOSTON — Matt Wieters drove in three runs, Miguel Gonzalez pitched 6 1-3 solid innings and the Orioles remained one game behind the first-place Yankees in the AL East.

The Orioles also moved one game ahead of Oakland for the top wild-card spot.

Jon Lester (9-13) lost for the first time in his 21 career starts against Baltimore. He had been 14-0, the longest winning streak against the Orioles franchise for a pitcher at the start of his career since at least 1901. It had been the longest current winning streak by an active pitcher against any team. But he's 0-1 in his last four starts against them, all Orioles victories.

Gonzalez (7-4) allowed two runs and seven hits as the Orioles improved to 6-1 this season at Fenway Park. Jim Johnson pitched the ninth for his club-record 46th save.

Rays 12, Blue Jays 1

ST. PETERSBURG, Fla. — James Shields pitched seven shutout innings and Tampa Bay's suddenly potent offence scored runs in bunches to help the Rays continue an uphill battle to remain in playoff contention.

Ben Zobrist and Jose Molina homered in support of Shields (15-9), who limited the Blue Jays to six singles and struck out nine to reach 200 for the second straight year. He fanned J.P. Arencibia leading off the second inning, giving the Rays the American League single-season record for strikeouts.

Luke Scott drove in four runs with a pair of doubles for the Rays, who pulled within 4 1/2 games of Oakland for the second AL wild card.

Zobrist hit a solo homer in the first and Molina had a two-run shot in the second against Carlos Villanueva (7-6), who allowed seven runs and eight hits in 2 1-3 innings.

Royals 6, Indians 3

KANSAS CITY, Mo. (AP) — Luis Mendoza pitched into the seventh inning in his first start since a bout with strep throat, leading Kansas City to the victory.

Mike Moustakas and Brayan Pena each drove in two runs for the Royals, who have won three straight and four of six. Mendoza wiggled out of a bases-loaded jam in the first and allowed two runs and eight hits in six-plus innings.

The Indians have lost 40 of 52 games since July 26 when they were 50-49 and trailed AL Central-leading Chicago White Sox by 3 1/2 games. They have lost six straight against Kansas City and eight of nine overall in the season series.

Mendoza (8-9), who was scratched from a Wednesday start with the illness, struck out three and walked two. Greg Holland worked the ninth for his 15th save in 18 opportunities.

Justin Masterson (11-15) lost his third straight start. He was charged with four runs and seven hits in six innings.

Angels 6, White Sox 2

ANAHEIM, Calif. — Ervin Santana struck out 11 while pitching seven innings of two-hit ball and the Los Angeles Angels beat the Chicago White Sox 6-2 to gain ground in the playoff race.

Mike Trout and Kendrys Morales homered for Los Angeles, which pulled within 3 1/2 games of Oakland for the second AL wild card. The Athletics lost 2-1 to the New York Yankees in 10 innings. Chicago's lead in the AL Central was trimmed to 1 1/2 games over second-place Detroit, which had its series opener against Minnesota postponed by rain. White Sox starter Jake Peavy (11-12) gave up five runs and eight hits in five innings.

Mariners 6, Rangers 3

SEATTLE - Carlos Triunfel drove in the tiebreaking run in the fourth inning and Miguel Olivo hit a two-run homer in the eighth to lead the Seattle Mariners to a 6-3 victory over the Texas Rangers on Friday night.

Hisashi Iwakuma (7-5) held the Rangers to three runs and eight hits in seven innings, and Justin Smoak had three hits and scored two runs for the Mariners.

David Murphy had three hits, falling a triple short of the cycle, and drove in three runs for Texas, which remained four games ahead of Oakland in the AL West. The A's lost 2-1 in 10 innings against the New York Yankees.

Rangers starter Martin Perez (1-2) gave up three runs and six hits in four innings. He struck out three, walked two and threw two wild pitches.