MIAMI -- The Florida Marlins swung the bats as if they were releasing their season-long frustrations.
Hanley Ramirez homered twice and Mike Jacobs drove in five runs, powering the Marlins to a 13-8 victory over the Washington Nationals on Tuesday night.
Jacobs and Cody Ross hit consecutive homers for the Marlins, who scored in seven innings and snapped a three-game skid. Jacobs has connected in three straight games.
Pinch-hitter Justin Maxwell had a grand slam -- his first major league hit -- for Washington.
Ramirez finished with four hits, while Jacobs, Dan Uggla, Josh Willingham and Miguel Cabrera each had three as the Marlins piled up a season-high 21.
"We joke how we can play some American League-style games and slug it out with people," Jacobs said.
Maxwell, who had been 0-for-2 in his big league career, highlighted a five-run fourth with his slam as the Nationals took a 7-5 lead. Maxwell was so enthused, he almost overran a teammate.
"When I hit first base, I was just trying to make sure I didn't pass Brian Schneider because he didn't know if it was going to get out," Maxwell said. "He was like, 'Get off me!"'
Both starters pitched poorly. Mike Bacsik gave up a leadoff homer to Ramirez and allowed five runs and eight hits in 2 2/3 innings.
Florida's Chris Seddon, making his first major league start, gave up seven runs and eight hits in three-plus innings.
"Our hitting really gave us a chance to win the game," Bacsik said. "Unfortunately I set the tone, and I couldn't really get anybody out consistently."
Uggla and Jeremy Hermida singled off Chris Schroder (2-2) to open the seventh, putting runners on first and third. Cabrera then greeted reliever Jonathan Albaladejo with a soft RBI single for a 9-8 lead.
After Willingham grounded into a forceout, Jacobs lined a two-run double.
Dmitri Young hit an RBI double in the Washington seventh, tying it at 8. Matt Lindstrom (3-4) wound up with the win.
Ramirez needed a triple to hit for the cycle when he homered for the second time, with one out in the eighth.
"No, I wasn't thinking about that at all," Ramirez said. "I just wanted a good at-bat and wanted to hit it hard."
Trailing 7-6, the Marlins scored twice in the fifth. Florida tied it when Ramirez scored from third on Schneider's passed ball, and Willingham singled home Uggla with two outs.
Jacobs and Ross hit back-to-back homers in the third to give the Marlins a 5-2 lead. Jacobs had a two-run shot.
Ramirez hit his eighth leadoff homer this season, and 15th of his career.
"Hopefully we'll get to see him do things like that for a lot of years," Marlins manager Fredi Gonzalez said.
Washington took a 2-1 lead in the second. Wily Mo Pena's run-scoring single and Ronnie Belliard's foul sacrifice fly scored the runs.
Florida tied it at 2 in the second when Paul Hoover scored on Uggla's groundout.
Maxwell's homer was the sixth grand slam by Washington this season. ... Ross left the game in the fourth with tightness in his left hamstring. ... Ryan Zimmerman had three hits for Washington. ... The Marlins' previous season-high was 17 hits on three occasions. ... There was a moment of silence at 9:11 p.m., before the top of the sixth, to honor victims of the Sept. 11 terrorist attacks.