PITTSBURGH (AP) Sean Rodriguez homered to open the bottom of the ninth inning, giving the Pittsburgh Pirates a 3-2 victory over the Cincinnati Reds on Friday night.

Rodriguez connected off Ross Ohlendorf (5-7), a 413-foot drive to the left-field bleachers that gave the Pirates just their second win in seven games in the midst of 12 straight games against teams who are at least 10 games under .500.

It was Rodriguez's second career game-ending homer and his 11th home run of the season.

More from FoxSports

The Reds tied the score 2-2 in the top of the ninth on pinch-hitter Ramon Cabrera's sacrifice fly off Tony Watson (2-3).