Martin homers in 9th, Mariners rally to beat A's 6-5

Seattle Mariners' Leonys Martin hits a two-run walk-off home run during the ninth inning of a baseball game against the Oakland Athletics, Tuesday, May 24, 2016, in Seattle. The Mariners won 6-5. (AP Photo/Ted S. Warren)
Ted S. Warren/AP

SEATTLE (AP) Leonys Martin hit a game-ending, two-run homer in the ninth inning to give the Seattle Mariners a 6-5 comeback victory over the Oakland Athletics on Tuesday night.

Seattle trailed 5-2 after seven innings but got a two-run homer from Robinson Cano in the eighth inning.

Oakland closer Ryan Madson (2-1) came on in the ninth and got two quick outs before Norichika Aoki punched a double down the left field line.

Martin then drove a 1-2 pitch deep over the wall in right-center for his ninth home run.

Oakland erased a 2-1 deficit in the sixth, jumping on the Mariners bullpen to complete a four-run rally capped by Coco Crisp's bases-loaded double.

Mike Montgomery (2-0) threw 3 1/3 scoreless innings.