PHILADELPHIA (AP) — Still clinging to postseason hopes, the Washington Nationals will take every win they can get.
Wilson Ramos hit a three-run homer and Corey Brown also went deep to back Gio Gonzalez, helping the Nationals beat the Philadelphia Phillies 9-6 Tuesday night.
The Nationals remained 7½ games behind Cincinnati for the second wild-card spot after overcoming a sloppy all-around effort that included three errors, four unearned runs and four wild pitches.
"That was an ugly game, one of the ugliest I've seen," manager Davey Johnson said. "That's not the way to win a pennant, I'll tell you that."
Gonzalez (9-6) gave up five runs — one earned — and five hits, striking out six in 5 2-3 innings. The lefty has two straight wins after going seven starts without one.
Ramos connected in the second and the Nationals never trailed. Brown hit a solo shot into the second deck off Luis Garcia in his first big-league at-bat of the season in the seventh to extend the lead to 8-5.
"The first time back there were a lot of emotions going on," Brown said. "I just tried to tell myself to get a good pitch to hit."
Phillies rookie Ethan Martin (2-4) allowed five runs and four hits in 4 2-3 innings. The righty hasn't reached five innings in his last three starts.
"It's frustrating," Martin said. "I'm trying to go as deep as I can and when I can't do that, it's frustrating."
Cody Asche was 3 for 4 with a homer and three RBIs for Philadelphia.
Rafael Soriano tossed a scoreless ninth for his 37th save in 43 chances.
A crowd of 28,826 was the smallest at Citizens Bank Park since April 3, 2008, when 25,831 turned out for a game, also against the Nationals, according to STATS LLC. That was the last time the Phillies drew under 30,000.
After leading the majors in attendance in 2011-12, the Phillies are fourth in the NL this season. But they're averaging 6,000 fewer people than last year.
Gonzalez faced a lineup missing Jimmy Rollins, Chase Utley and Domonic Brown. Rollins and Utley had the day off and Brown remains sidelined with soreness in his right Achilles.
"I was a little uncomfortable the whole game," Gonzalez said. "They were being patient and I wasn't pounding the strike zone. A win doesn't have to be pretty, but just a win."