You can add another milestone to the long history of the New York Yankees.

Robinson Cano, Russell Martin and Curtis Granderson all homered with the bases loaded Thursday to make the Yankees the first team in major league history to hit three grand slams in one game.

Cano homered in the fifth inning, Martin in the sixth and Granderson knocked a 94 mph fastball from Oakland's Bruce Billings into the bullpen in the eighth inning to set the mark.

The Yankees beat Oakland, 22-9, to avoid being swept at home by the Athletics for the first time in more than five years.

Martin also had a solo homer in the fourth inning and went 5-for-5 with six RBI for the Yankees, who climbed out of a 7-1 hole after three innings. New York had 21 hits in the game and batted around in the last four innings.

The game, delayed 89 minutes at the start because of rain, took 4 hours and 31 minutes to play. Things got so out of hand that Jorge Posada played second base for the Yankees in the bottom of the ninth and recorded the last out on a ground ball.