NEW YORK -- Stephen Drew hit a tying single off Mariano Rivera with two outs in the ninth inning, then Shane Victorino lined a go-ahead single in the 10th that sent Boston past the Yankees 9-8 on Thursday night.
Down to their last strike against Rivera, the Red Sox rallied in the opener of a four-game series loaded with playoff implications.
New York erased a 7-2 deficit with six runs in the seventh.
The Red Sox won for the 10th time in 12 games and the Yankees had their three-game winning stopped.
Lyle Overbay's two-out, two-run single capped the in the seventh that put the Yankees ahead 8-7.
ORIOLES 3, WHITE SOX 1
BALTIMORE -- Miguel Gonzalez allowed one run over seven innings and Baltimore hit three solo home runs.
Adam Jones, J.J. Hardy and Brian Roberts homered off Jose Quintana (7-6) to provide Baltimore with a much-needed win. The Orioles were coming off a 3-6 trip that dropped them four games off the pace in the AL wild-card race.
Jones' shot in the first inning gave him 30 home runs for the season and 100 RBIs for the first time. Hardy and Roberts connected in the fifth, increasing Baltimore's major league-leading home run total to 188.
Gonzalez (9-7) gave up four hits -- all singles -- walked one and struck out six to earn his first win in seven starts since July 20. He was 0-4 in that span.
Jim Johnson worked a perfect ninth for his 42nd save.
Dayan Viciedo had two hits for the White Sox, who have dropped seven straight. Chicago is an AL-worst 24-49 on the road and 32-48 in games decided by one or two runs.
ROYALS 7, MARINERS 6, 13 innings
KANSAS CITY, Mo. -- Mike Moustakas homered to lead off the bottom of the 13th inning for Kansas City.
Moustakas homered to right on an 0-2 pitch from Chance Ruffin (0-1), who had not pitched in the majors since 2011.
Louis Coleman (3-0), the eighth Royals pitcher, retired the only batter he faced in the top of the 13th.
Kansas City rallied from five runs down and led 6-5 in the ninth before Raul Ibanez homered off Greg Holland with two outs to it. It was Holland's first blown save since May 6 to end his streak of 31 consecutive saves.
Billy Butler went 5 for 5, matching his career high in hits for the Royals, while Emilo Bonifacio went 4 for 6.
The teams combined to use 44 players, including 14 pitchers.
Copyright 2013 by The Associated Press
This story is from ESPN.com's automated news wire. Wire index
MORE MLB HEADLINES
- Majestic Youth Replica Baltimore Orioles Adam Jones #10 Cool Base Alternate Orange Jersey