NEW YORK — The New York Yankees became the first team in major league history to hit three grand slams in a game, with Robinson Cano, Russell Martin and Curtis Granderson connecting Thursday in a wet, wild 22-9 romp over the Oakland Athletics.

NEW YORK — The New York Yankees became the first team in major league history to hit three grand slams in a game, with Robinson Cano, Russell Martin and Curtis Granderson connecting Thursday in a wet, wild 22-9 romp over the Oakland Athletics.

In nearly a century of storied slugging, the Bronx Bombers never enjoyed a day like this.

On a dreary afternoon, some fans headed home with the Yankees trailing 7-1 after three innings and rain still falling in a game that began after an 89-minute delay.

Turns out they missed the Yankees coming home — over and over and over.

Cano began the barrage with his slam in the fifth off starter Rich Harden, making it 7-6. Martin connected in the sixth off Fautino De Los Santos (2-1) for a 10-7 lead. Granderson took his turn in eighth, launching a two-out drive off Bruce Billings.

Martin homered twice and doubled, setting career highs with five hits and six RBIs. Cano drove in five runs as the Yankees pulled off their biggest comeback win since 2006 and avoided a three-game sweep.

Red Sox 6, Rangers 0

At Arlington, Texas, Adrian Gonzalez homered twice to give him five in four games and Andrew Miller pitched three-hit ball in a spot start as Boston beat Texas again.

Miller threw 61/3 impressive innings and the Red Sox took the final three matchups in a four-game series between AL division leaders.

Gonzalez hit a solo shot in the first inning and a two-run drive in the third off Alexi Ogando (12-6), giving him homers on three consecutive swings — including one in the eighth inning Wednesday night.

Tigers 2, Rays 0

At St. Petersburg, Fla., Doug Fister allowed five hits over seven scoreless innings, Austin Jackson homered and the AL Central-leading Detroit Tigers beat Tampa Bay.

Fister (6-13) struck out five. The right-hander, acquired in a six-player trade with Seattle on July 30, is 3-1 in five starts with the Tigers.

Jackson hit a leadoff homer in the first and made it 2-0 with a sacrifice fly in the fifth.

The Tigers took three of four from Tampa Bay and have won 16 of their last 25 road games.

Orioles 6, Twins 1

At Minneapolis, Mark Reynolds hit a three-run homer and Jo Jo Reyes went six strong innings to lead Baltimore over Minnesota for its first four-game winning streak since early June.

Vladimir Guerrero had two hits for the Orioles, who swept the Twins at home in a four-game series for the first time.

Royals 9, Blue Jays 6

At Toronto, Jeff Francis pitched six-plus innings to win for the first time since July 29 and Melky Cabrera homered to lead Kansas City past Toronto.

Billy Butler went 4 for 5 with two RBIs and scored twice as the Royals won their first series since taking two of three against Baltimore from Aug. 2-4. It was Kansas City's first series victory in Toronto since August 2002.

Astros 3, Giants 1

At San Francisco, Jordan Schafer homered and scored three times, Henry Sosa pitched six strong innings against his former club to earn his first career victory and Houston beat San Francisco to end a four-game losing streak.

J.D. Martinez doubled twice and had two RBIs for the Astros, who stole a season-high four bases and turned three double plays on defense. Houston, which still owns the worst record in the majors at 43-88, has won three of four against the defending World Series champs.

The Giants, losers of five of seven, fell three games behind first-place Arizona in the NL West.

Braves 8, Cubs 3

At Chicago, Brian McCann homered twice and the Atlanta Braves beat the Chicago Cubs.

McCann hit a three-run homer in the first and a solo shot in the seventh for his eighth career multi-homer game. Michael Bourn had a career high-tying four hits, scored two runs, and drove in a run.

Diamondbacks 8, Nationals 1

At Washington, Wade Miley threw six scoreless innings to get his first major league victory, and Chris Young and Paul Goldschmidt homered for Arizona.

Miley (1-1) allowed five hits, struck out four and walked four in his second game in the majors.

Cardinals 8, Pirates 4

At St. Louis, Matt Holliday hit a three-run homer and David Freese had a two-run single to lead St. Louis over Pittsburgh.

The Cardinals ended a three-game losing streak and moved within 91/2; games of first-place Milwaukee in the NL Central. Pittsburgh lost for the sixth time in nine games.