WASHINGTON — Wilson Ramos snapped a tie with a sixth-inning homer, Jordan Zimmermann pitched seven solid innings and the Washington Nationals beat the struggling San Francisco Giants 3-1 on Sunday night, completing a three-game sweep.
Ramos added an RBI single in the eighth and Bryce Harper, voted a starter on the National League All-Star team, had a double and single.
Zimmermann (7-5) has allowed one run over 22 2-3 innings in his last three starts.
Drew Storen pitched the ninth, picking up his 25th save for Washington, which has won nine straight at home.
Brandon Crawford hit his 12th homer of the season for the Giants, who lost manager Bruce Bochy and starting pitcher Ryan Vogelsong to ejections and finished 0-6 on their road trip.
Reliever George Kontos (2-1) allowed Ramos' homer.
Bochy and Vogelsong were ejected by plate umpire Phil Cuzzi in the fifth inning after complaining about the strike zone.
The last time he faced the Giants, Zimmermann held them scoreless for 8 2-3 innings in Game 2 of the 2014 NLDS before exiting after walking Joe Panik. He was charged with a run after Panik later scored to tie the game, which San Francisco won 2-1 in 18 innings.
Zimmermann allowed Crawford's homer in the fourth inning Sunday, then retired 10 of the last 11 batters he faced.
The Giants had shown displeasure with Cuzzi's strike zone several times before Vogelsong's fourth pitch of the fifth inning to Denard Span was called a ball.
Bochy appeared to say something from the dugout. Cuzzi turned toward Bochy, and Vogelsong soon began walking toward the plate. Cuzzi ejected Vogelsong. Bochy came out and was ejected shortly thereafter.
Vogelsong allowed a run on three hits. He struck out two and walked three.
Washington took a 1-0 lead on Michael A. Taylor's RBI single in the second.
The Giants tied it when Crawford hit a 3-0 pitch into the Nationals bullpen.
Giants: OF Hunter Pence (left wrist tendinitis) took batting practice on the field for the first time since going on the disabled list. . LHP Jeremy Affeldt (left shoulder strain) has begun playing catch.
Nationals: The Nationals placed Stephen Strasburg on the 15-day disabled with a strained left oblique, one day after he left his start in the fourth inning. ... OF Jayson Werth (fractured left wrist) took swings with a fungo bat on Saturday.
Giants: RHP Chris Heston (8-5, 3.78) no-hit the Mets on June 9 at Citi Field. He opposes them at AT&T Park on Monday night when the Giants open a six-game homestand. Jonathan Niese (3-8, 3.90) pitches for the Mets.
Nationals: RHP Doug Fister (3-4, 4.34) makes his third career start against the Reds on Monday night. He's 2-0 against them with 1.29 ERA. RHP Anthony DeSciafani (5-6, 3.68) pitches for the Reds.