Jayson Werth helped get the Washington Nationals a little bit closer in the wild-card race.
Werth's two-out RBI double in the eighth inning capped a late rally and the Nationals avoided a series sweep with a 6-5 win over the New York Mets on Sunday night.
The Nationals trailed 5-2 in the seventh, but scored once in that inning on Wilson Ramos' run-scoring single and added three in the eighth.
The victory moved Washington within 6½ games of Cincinnati for the final National League wild-card berth. The Reds lost at Colorado 7-4 on Sunday.
"We're stoked," said Bryce Harper, who reached base three times and contributed during the rally.
"I was fired up, unbelievably fired up when (Werth) hit that double. ... He's been in that situation so many times in his career. That was just an unbelievable moment."
Not so much for the Mets bullpen as reliever Gonzalez Germen (1-2) allowed one run after Scott Rice gave up two in the eighth.
"Anytime you can win a series, it's big," Mets manager Terry Collins said. "This time of the year, you've got to win as many as you can.
"Certainly, this is one we're going to look back on and kick ourselves a little bit for letting it get away. But yeah, winning a series is big."
Rice entered in the eighth with the Mets leading 5-3. New York's third pitcher, Rice allowed consecutive singles including Denard Span's pinch-hit single which extended the outfielder's hitting streak to 15 games.
After Harper sacrificed the runners to second and third, Scott Hairston scored on Anthony Rendon's groundout and Span came around on Ryan Zimmerman's infield single.
Werth's second double of the game found the right-center gap for one of Washington's 16 hits, scoring Zimmerman from first base.
"He had the most unbelievable BP today," Nationals manager Davey Johnson said of Werth. "He's been swinging the bat good. He's driven."
Because the Nationals drove in those late runs, they won't be lugging a losing skid with them to their next series.
Johnson: "I can't sleep as it is. ... I'd have nightmares riding on the bus to Philly. There is a lot of baseball left. We just have to keep chugging away one game at a time."
Recalled from Triple-A Syracuse before the game, reliever Erik Davis (1-0) pitched a scoreless eighth.
"It was exciting to get in there on my first day back," Davis said. "I was just happy to get out there and put up a zero. It was an awesome comeback by us."
Rafael Soriano, Washington's sixth pitcher, finished the Mets off in the ninth for his 36th save.
Daniel Murphy and Lucas Duda each drove in two runs, and Matt de Dekker smacked his first career home run for the Mets. New York last swept a series from Washington May 25-27, 2009.
Murphy's hot hitting stretch continued with an RBI double in the first inning and a two-out run-scoring single in the fifth against Ross Ohlendorf. The second baseman has 11 hits in his past 19 at-bats.
New York had 30 hits during the past two games.
Mets starter Jonathon Niese never had a 1-2-3 inning, but the Nationals managed only single runs in the second and fourth against him. He allowed two runs and 10 hits in 5 2-3 innings before leaving with a left leg cramp.
"It's that kind of year," Niese said of New York's string of injuries, including first baseman Ike Davis on Saturday.
"Today was tough, it was so humid. I was crushing Gatorades and water, and still cramping up."