PHILADELPHIA -- Joaquin Arias singled in the go-ahead run in a two-run ninth inning and Sergio Romo worked out of a bases-loaded, no-out jam in the bottom of the inning as the San Francisco Giants rallied for a 2-1 victory over the Philadelphia Phillies on Thursday night.
The light-hitting Giants, blanked by Cole Hamels for eight innings, staged their comeback against Philadelphia closer Jonathan Papelbon, who blew his sixth save in his last 13 opportunities. He had converted his first 13 chances this season.
With the Giants trailing 1-0 Hunter Pence opened the ninth with an infield single. Brett Pill singled him to third and pinch hitter Roger Kieschnick grounded a single through the right side to tie it. Arias then punched a single through the left side, putting the Giants ahead.
Romo, seeking to protect the lead for Matt Cain (7-6), saw pinch hitter Delmon Young reach on an error to start the bottom of the ninth. Rookie Cody Asche bunted back to Romo, but he slipped as he was about to make a throw to first base. Asche was credited with a single, his first major league hit.
Romo then hit John Mayberry Jr. with a pitch as he squared to bunt, loading the bases.
But Laynce Nix flied to short right, Carlos Ruiz flied to short left and Romo retired pinch-hitter Erik Kratz on a fielder's choice bouncer to pick up his 25th save in 29 opportunities.
Cain pitched eight innings, allowing six hits and one run. He struck out seven and walked two.
Hamels allowed seven hits, struck out five and walked one. He also singled home the Phillies' run in the fifth.
Cain retired the first 11 hitters he faced before Chase Utley singled with two outs in the fourth. One inning later, Hamels blooped a single to left -- the Phillies' third straight two-out hit -- to give Philadelphia a 1-0 lead.
NOTES: A pregame drizzle prevented either team from taking batting practice on the field. ... Phillies OF Domonic Brown and LHP Cliff Lee both appear close to returning. Lee, who missed his start last Saturday with a stiff neck, threw a bullpen session on Thursday and pronounced himself fit to reporters. He is expected to start Sunday against Atlanta. Brown, out since July 23 with concussion-like symptoms, told reporters that he feels "great" and will likely go on a rehab assignment this weekend with the expectation that he will return next Tuesday against the Chicago Cubs. ... The Giants, 8-17 in July, had their lowest winning percentage (.320) in a calendar month since going 8-19 (.296) in July 1994. ... The Phillies selected the contract of RHP Ethan Martin from Triple-A Lehigh Valley. He will make his major league debut when he starts Friday against Atlanta. A corresponding roster move will be made before that game. ... Former Phillies closer Brad Lidge officially announced his retirement as a member of the team at a news conference Thursday afternoon.