By MICHAEL WAGAMAN, Associated Press

SAN FRANCISCO (AP) — Matt Cain hit a three-run homer during his first win in more than two months, and the San Francisco Giants beat the Cincinnati Reds 9-7 on Tuedsday night.

Brandon Crawford had three hits and two RBIs, and Buster Posey and Denard Span added two hits apiece for the Giants. San Francisco won for only the second time since the All-Star break.

READ MORE: Gun Found In Desk Of Second Grader At South Sacramento School, District Says

It had been longer than that for Cain.

READ MORE: Call Kurtis Investigates Whether You’re Getting What You Paid For At The Pump

The former Giants ace failed to make it past the fourth inning in his three previous starts and wasn’t much better against the Reds. He retired nine of his first 10 batters but quickly wore down and left with one out in the sixth after giving up the first of two homers by Adam Duvall.

MORE NEWS: Elk Grove Zoo Could Open By Summer 2027

Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.