Updated

Chris Nelson smashed the go-ahead, three-run homer in the bottom of the seventh inning and the Colorado Rockies rallied for an 11-10 victory over the San Diego Padres in the finale of a three-game series at Coors Field.

Ramon Hernandez and Tyler Colvin each hit two-run homer, while Jordan Pacheco went 2-for-4 with two RBI and Dexter Fowler had a pair of RBI singles among his three hits for the Rockies, who won the final two games of this series.

"It's very exciting," Nelson said. "These are the things you dream about as a kid. I was thinking about it in the on-deck circle, but for it to actually come true is pretty special."

Guillermo Moscoso (1-1) got the win after getting Chris Denorfia to line out for the last out of the seventh inning behind starter Jeff Francis, who lasted just 3 2/3 innings and allowed six runs -- five earned -- on 10 hits. Rafael Betancourt allowed three hits and a run in the ninth, but closed it out for his 27th save.

Chase Headley went 4-for-5 with a career-high six RBI and Alexi Amarista finished 5-for-5 with two RBI and two runs scored for the Padres, who have lost three of their last five.

Brad Brach (1-4) took the loss after allowing two runs on two hits in one inning of relief behind starter Casey Kelly, who surrendered seven runs -- five earned -- on eight hits over 5 2/3 innings.

"I was trying to throw a slider down and away, out of the zone," Brach said. "I just left it up and he put a good swing on it and hit it out."

Trailing, 9-7, the Rockies took the lead in the bottom of the seventh. Carlos Gonzalez was plunked by Tom Layne to start the inning and Pacheco singled up the middle. Brach came on in relief of Layne, but served up a middle-in fastball to Nelson, who crushed it over the wall in straightaway center field to make it 10-9.

Fowler singled in Charlie Blackmon, who walked, to extend the lead to 11-9 after eight frames.

Cameron Maybin hit a two-out single off Betancourt in the ninth and went to second on defensive indifference prior to scoring on a hit by Amarista to cut the deficit to one. Pinch-hitter Mark Kotsay singled, but Betancourt got Denorfia to ground out, ending the game.

Earlier, San Diego opened the scoring with a pair of runs in its first at-bat courtesy of a two-run shot to left by Headley.

Headley struck again for the Padres in the third with an RBI single to make it 3-0, but the Rockies erupted for seven runs in the home third to take a comfortable lead.

Jonathan Herrera started the inning with a free pass and moved into scoring position on sacrifice bunt by Francis before crossing the plate on a single to center by Fowler.

Gonzalez doubled two batters later to put runners on second and third and Pacheco laced a two-bagger down the line in left to plate Josh Rutledge and Gonzalez, tying the game at three. Colvin followed with a towering two-run bomb to right.

Nelson reached on an error by Amarista and Hernandez made the Padres pay for their defensive shakiness as he capped the huge inning with the second two-run homer of the inning to make it 7-3.

The Padres began their comeback with three runs in the fourth inning.

Maybin started the inning with a single and Amarista doubled before Denorfia brought home Maybin with a single. Headley knocked in two more runs later in the inning.

San Diego added two more runs in the sixth to take the lead. Amarista was again the offensive catalyst as he started the frame with a double and scored on a base hit by Logan Forsythe. Headley smacked a base hit into left to bring in Forsythe to make it an 8-7 game.

Amarista singled home Yasmani Grandal in the seventh to extend the lead to 9-7.

Game Notes

Prior to Sunday's game, the Rockies reinstated pitcher Edgmer Escalona from the 15-day disabled list ... It was Kelly's second major league start. In his debut, he threw six shutout innings and got the win on August 27 against the Atlanta Braves ... Colorado went 5-for-10 with runners in scoring position and left six on base, while the Padres finished 7-for-19 with RISP and stranded nine.