DENVER - Wilin Rosario hit a two-out, two-run homer in the bottom of the ninth inning and the Colorado Rockies rallied to beat the Arizona Diamondbacks 7-6 on Thursday night.

Rosario finished with four hits to lift the Rockies into a fourth-place tie with Arizona in the NL West.

Corey Dickerson led off the ninth with a single against Addison Reed (1-7). Two outs later Rosario, hit a towering drive into the seats in left to give the Rockies their third straight win.

LaTroy Hawkins (4-3) pitched a perfect top of the ninth.