PEORIA, Ariz. (AP) — Leonys Martin and Luis Sardinas homered in Seattle's 6-run third inning against San Francisco starter Jeff Samardzija, and the Mariners rallied for a 9-6 win over the Giants on Wednesday.

Samardzija entered the bottom of the third with a 5-0 lead but saw 10 Mariners come up to bat against him. Samardzija gave up a spring-high seven runs and eight hits, including three home runs.

Samardzija also struck out three and walked one in four innings. He gave up Shawn O'Malley's solo shot to lead off the fourth.

Robinson Cano tripled, doubled and scored and Chris Iannetta had two hits and two RBIs for Seattle. Angel Pagan tripled, doubled, scored and drove in three runs for the Giants. Hunter Pence, Brandon Crawford and Trevor Brown adding two hits each, and Brown also had three RBIs.

Seattle's Hisashi Iwakuma allowed five runs and seven hits in 2 2/3 innings.