DENVER (AP) Mark Reynolds hit a two-run homer with two outs in the bottom of the ninth inning to give the Colorado Rockies a 9-7 victory over the Arizona Diamondbacks on Sunday.

Carlos Gonzalez had a grand slam, and Trevor Story and Charlie Blackmon also went deep for the Rockies, who earned a split of the four-game series.

Story was hit by a pitch leading off the ninth. Silvino Bracho (0-1) retired the next two batters before Reynolds drove a 2-1 fastball an estimated 464 feet to left-center for his eighth home run of the season.

More from FoxSports

It was Colorado's first walk-off win since Sept. 26, 2015.

Carlos Estevez (2-5) struck out two in a hitless inning for the victory.

Paul Goldschmidt had two hits and four RBIs for Arizona.