Updated

Wilson Ramos went 3-for-5 with a solo homer, two RBI and two runs scored as the Washington Nationals beat the Miami Marlins, 6-4, in the rubber match of a three-game series.

Ryan Zimmerman also hit a solo homer for the Nationals, who have won four of five. Ian Desmond went 3-for-5 with two RBI and a run scored.

Washington starter Stephen Strasburg (7-9) allowed four runs on four hits while striking out seven over six innings.

"Stras should have been able to go further but he was a little out of sorts today," Nationals manager Davey Johnson said.

Adeiny Hechavarria and Greg Dobbs had an RBI apiece for the Marlins, who went 1-for-7 with runners in scoring position and stranded six.

Jacob Turner (3-6) got the start for Miami and gave up five runs on nine hits over four-plus innings.

"We know we have to pitch and play almost perfect to win and we weren't able to do that," Marlins manager Mike Redmond said.

Ramos' homer to left-center field in the second made it 1-0 Washington.

The Marlins, however, responded with three runs in the bottom half. Justin Ruggiano and Logan Morrison singled and Placido Polanco walked to load the bases. A run scored on a balk. Hechavarria followed with an RBI groundout. After Rob Brantly walked, Polanco crossed the plate on another Strasburg balk.

Washington tied the game with a pair of runs in the third. Zimmerman led off with a homer to left. Jayson Werth doubled to left and raced home on Desmond's double to right-center field.

The Nationals tacked on two more runs in the fifth. Desmond singled, stole second and scored on Ramos' single to shallow left field. Ryan Webb came in from the bullpen and gave up an RBI triple to Anthony Rendon.

Washington scored once more in the sixth. Adam LaRoche worked a two-out walk, stole second and raced home on Desmond's triple to center, making it a 6-3 game.

The Marlins got the run back in the bottom half. With men on first and second and two outs, a pinch-hitting Dobbs hit an RBI single to right.

Drew Storen, Tyler Clippard and Rafael Soriano each tossed a scoreless inning of relief for Washington. Soriano recorded his 39th save of the season.

Game Notes

Washington leads the season series by an 11-4 margin ... Marlins outfielder Giancarlo Stanton (foot) was held out of the lineup. ... Strasburg improved to 6-3 lifetime against the Marlins.