PITTSBURGH (KDKA/AP) — Joel Hanrahan allowed three runs in the ninth inning and the Pirates lost to the Cincinnati Reds, 11-8.

The Pirates (58-65) stayed in the game and tied it 8-8 in the eighth inning.

READ MORE: TJ Watt, Fiancee Celebrate Sack Record With Cake From Oakmont Bakery

After falling behind to 4-2, Neil Walker and Matt Diaz got RBIs in the fifth and sixth respectively.

Brandon Wood drove in two runs on a line drive single at the bottom of the seventh.

Garrett Jones doubled in the eighth and sent Xavier Paul to home plate. Then Andrew McCutchen drove in a run and stole second.

READ MORE: Homestead Woman Hand-Delivers Cards To Every Zone 6 Officer

Joey Votto hit his 21st homer of the season and later scored the game-winning run in the top of the ninth.

Kevin Correia saw his ERA rise to 4.79 as the Reds charged him with eight hits and six runs over six innings. He struck out just one batter.

Brandon Phillips went 3 for 5 with a home run and four RBIs for Cincinnati.

Ryan Hanigan added a solo shot and drove in two insurance runs in the ninth as the Reds beat the Pirates for just the third time in 10 tries.

MORE NEWS: Applications Open For LIHEAP With Increased Benefits

Meantime, the Pirates added lefty Paul Maholm to the 15-day disabled list for a strained left shoulder. Draft pick Josh Bell made his first appearance at PNC Park with his family.