MIAMI -- The Miami Marlins earned a rare victory, rallying to tie in the ninth, tie it in the 15th and then win it later in the 15th, beating the New York Mets, 4-3, Monday night.
The Marlins' winning rally was led by Rob Brantly, who had the game-tying single, and Nick Green, who had the game-winning sacrifice fly to left.
Miami's two runs in the 15th came off losing pitcher Shawn Marcum, a starting pitcher pressed into service in the bullpen due to the length of the game.
The game featured over 500 pitches and lasted 5 hours 31 minutes.
With the Mets leading 2-1 in the ninth, Mets closer Bobby Parnell gave up a leadoff double to Justin Ruggiano, who advanced to third on a bloop single by Brantly and scored on a sacrifice fly by Green.
Playing before an announced crowd of 15,605 at Marlins Park, Miami improved to 7-19.
The Mets, who dropped to 10-14, have lost five games in a row, although this one was especially painful given the length of the game and their opponent's lowly record.
A major negative for the Marlins, however, came in the 10th inning, when Giancarlo Stanton was hurt.
Stanton, who entered Monday having hit three homers in his past two games, was injured while running out a grounder. As soon as he hit the first-base bag, he grabbed his right hamstring and limped off the field.
Earlier on, the game looked like a pitching duel between two outstanding young right-handers. Matt Harvey (4-0, 1.56 ERA) lasted 120 pitches and struck out seven. The second-year major-leaguer allowed seven hits, two walks and one run in 5 1/3 innings.
Miami rookie Jose Fernandez (0-2, 4.50 ERA) made just one big mistake -- a 439-foot homer by former Marlins catcher John Buck, who hit a combined total of 28 homers for Miami the past two years before being traded away in a cost-cutting move.
Harvey and Fernandez both average 95 mph on their fastballs and appear to have bright futures.
After they were lifted from the game, both bullpens pitched nearly flawlessly.
Fernandez lasted just four innings and 81 pitches, which is consistent with how many he has been allowed to throw per start this season. In fact, the 20-year-old rookie's highest number of pitches in five total starts is 85.
He left trailing 2-1 after Buck hit a massive, two-run homer to center in the fourth. The homer was Buck's ninth of the season, tops among big-league catchers. His 25 RBIs also rank No. 1 among backstops.
The Marlins took a 1-0 lead in the third. Juan Pierre and Donovan Solano opened the inning with singles. Pierre scored from third on a double-play grounder by Stanton.
NOTES: Mets 3B David Wright did not start Monday due neck stiffness. He suffered the injury in Sunday's game against the Phillies, and it worsened Monday. The Mets are hoping he can return to the lineup Tuesday. ... This marks the second straight time that Wright was scratched from a scheduled start at Marlins Park. Last month while playing for Team USA in the World Baseball Classic, Wright suffered an oblique strain and missed the rest of the tournament. ... Marlins RHP Ricky Nolasco, who got the win Sunday, could be auditioning, in a sense, for other teams. He is making $11.5 million this season, and the speculation is that the low-budget Marlins will deal him closer to the July trading deadline. ... The Mets love the play of their 2011 first-round pick, Brandon Nimmo, who is hitting .337 with a .437 on-base percentage in low Class A ball. New York selected the center fielder out of high school with the 13th overall pick in the draft. One selection later, the Marlins took Fernandez out of high school.