Galvis and Ruf homer as Phils beat Nationals 4-3Washington Nationals shortstop Ian Desmond dives for a ground out by Philadelphia Phillies' Carlos Ruiz during the fourth inning of a baseball game, Tuesday, Aug. 26, 2014, in Philadelphia. (AP Photo/Matt Slocum)
PHILADELPHIA (AP) -- The Phillies got a big lift from their bench.
Freddy Galvis and Darin Ruf homered and Carlos Ruiz drove in go-ahead run with an eighth-inning sacrifice fly to lead the Philadelphia Phillies to a 4-3 victory over the Washington Nationals on Tuesday night.
Ken Giles (3-1) struck out the side in a scoreless eighth to help the Phillies to their fifth win in six games.
Asdrubal Cabrera homered for the Nationals, who lost consecutive games for the first time since Aug. 4-5.
Cole Hamels took a lead into the eighth before giving up a leadoff homer to Cabrera. The left-hander was lifted for Giles after that batter, finishing with three runs allowed on eight hits with five strikeouts and a walk.
Gio Gonzalez (6-10) gave up three runs on six hits in six innings to extend his winless streak to nine starts. Gonzalez is 0-6 with a 4.35 ERA since winning his last game on July 5.
''He made a couple of mistakes that they hit out of the park, but he was competitive and threw his pitches for strikes,'' Washington manager Matt Williams said.
Galvis and Ruf were among the right-handed reserves manager Ryne Sandberg inserted into the lineup against the left-handed Gonzalez.
''Good energy,'' Sandberg said. ''Guys were hopping around pretty good and doing some good things with the bat, especially Freddy.''
Jonathan Papelbon pitched a 1-2-3 ninth for his 33rd save in 35 chances.
The Phillies scored the go-ahead run in the eighth off Tyler Clippard (7-3). Ben Revere led off and reached on an error by shortstop Kevin Frandsen. Revere originally was ruled out by first-base umpire Gary Cederstrom, but the call was overturned after a 2:59 delay. It was the second call of the game by Cederstrom that was overturned.
Revere stole second, went to third on Jimmy Rollins' fly out and scored when Ruiz flew out to deep center.
Gonzalez blanked the Phillies through four innings of two-hit ball before giving up two runs in the fourth. Grady Sizemore led off with a triple and Galvis hit a high fastball over the fence in left to put Philadelphia up 2-0. It was the first homer since last September for Galvis, who was recalled from Triple-A Saturday and had been 2-for-45 this season prior to the homer.
''We all know he can play, know he can hit,'' Ruf said. ''It's nice to have him come through and show what he can do.''
Ruf's two-out solo shot in the sixth gave Philadelphia a three-run advantage.
The Phillies clinched the series victory, giving them three straight series wins for the first time since last July.
Nationals: 1B Adam LaRoche was held out of the starting lineup due to back tightness. He pinch-hit in the ninth inning and flew out.
Phillies: OF John Mayberry Jr. (right wrist) played in his sixth rehab game at Triple-A Lehigh Valley Tuesday night. Mayberry is 4-for-18 with a homer in five games with the IronPigs.
Nationals: RHP Doug Fister (12-3, 2.38) makes his first-ever start at Citizens Bank Park as the teams conclude the three-game series at7:05 Wednesday night. Fister has given up just 13 homers this season but allowed two in his last start, Friday's 10-3 loss to San Francisco.
Phillies: RHP Kyle Kendrick (6-11, 4.93) has a 9.69 ERA in the first inning this season. He is 0-2 with a 6.39 ERA in two starts against Washington this season and 5-10 with a 5.00 ERA in 24 career starts versus the Nationals.
Ruf has posted an .893 OPS in 394 plate appearances since his debut in Sept. 14, 2012, which is the highest of any Phillies player with as many plate appearances over that stretch.
Cederstrom's first overturned call came in the first inning when replays showed Anthony Rendon was out at first on a groundout after the umpire had called him safe. The two reviews combined for a 4:42 delay.