DENVER (AP) — Michael McKenry hit a two-out, two-run homer in the 11th inning and the Colorado Rockies rallied to beat the Seattle Mariners 7-5 on Wednesday.

McKenry ended the 4-hour, 7-minute game when he hit Mayckol Gauipe's 2-2 curveball into the left-field seats for his fourth home run of the season. It was McKenry's first walk-off hit in his career.

Seattle's Nelson Cruz doubled and singled to extend his hitting streak to 16 games but failed to homer for the first time in six games.

The Rockies' winning rally started with Ben Paulsen's one-out single off Guaipe (0-3). McKenry worked the count even before he delivered his big hit.

Yohane Flande (2-1) pitched the top of the 11th to get the win.

Seattle starter Taijuan Walker followed his complete game one-hitter against Minnesota with 7 1-3 innings. He allowed five hits and gave up Carlos Gonzalez's three-run homer in the sixth.

Franklin Gutierrez answered with a tiebreaking two-run homer to give Seattle a 5-3 lead.

Colorado rallied for two runs in the ninth off Fernando Rodney to force extra innings.

Seattle scored three runs in the fourth, with Walker hitting an RBI double.

Colorado, which managed just two hits through the first five innings, rallied to tie it in the sixth on Gonzalez's 22nd home run, which traveled an estimated 465 feet.