Adames' first homer caps 4-run 9th as Rockies win 4-1

Colorado Rockies catcher Tony Wolters, left, makes the tag on Pittsburgh Pirates' Jung Ho Kang (27) for the out during the fourth inning of a baseball game in Pittsburgh, Saturday, May 21, 2016. Kang was attempting to score from third on a fielder's choice by Pirates' Matt Joyce. (AP Photo/Gene J. Puskar)
Gene J. Puskar/AP

PITTSBURGH (AP) Christian Adames' first career homer capped a four-run ninth inning as the Colorado Rockies rallied to beat closer Mark Melancon and the Pirates 5-1 on Saturday, ending their eight-game losing streak against Pittsburgh.

Adames' two-run shot to straightaway center field came after Tony Wolters singled off Melancon (0-1) to snap a 1-1 tie and another run scored on first baseman John Jaso's error. Melancon came on to start the ninth and was charged with three unearned runs in 2/3 of an inning.

Adames, a rookie infielder, entered the game at second base in the eighth inning as part of a double switch and homered off Jared Hughes in his 115th career plate appearance.

Rookie reliever Carlos Estevez (1-1) pitched 1 1/3 scoreless inning for his first major league win as the Rockies snapped a three-game overall losing streak