PITTSBURGH — The Cincinnati Reds sent Pittsburgh All-Star closer Joel Hanrahan to his second loss in three days, scoring twice in the ninth to beat the Pirates 5-4 on Sunday.

Ramon Hernandez hit an RBI-single to tie the game with one out in the top of the ninth and Dave Sappelt scored on Brandon Phillips' fielder's choice as Cincinnati took two of three in the series.

Joey Votto added a three-run homer for the Reds. Jose Arredondo (3-3) pitched two perfect innings in relief and Francisco Cordero survived an eventful ninth to earn his 26th save.

Garrett Jones and Andrew McCutchen each hit two-run homers for Pittsburgh, which had been a perfect 52-0 when leading after eight innings.

Hanrahan (0-3) gave up two runs on three hits and two walks in 2-3 of an inning to blow a save opportunity for just the third time this year.