MIAMI — Jake Marisnick hit his first major league home run, Henderson Alvarez pitched into the eighth inning, and the Miami Marlins beat the New York Mets 3-2 on Wednesday night.

Giancarlo Stanton and Placido Polanco also drove in a run each for the Marlins, who dropped the first two games of the four-game series with the Mets.

Mike Dunn got four outs for his second save in place of Steve Cishek, who pitched two innings and took the loss in Tuesday's 4-2 loss to New York.

Dunn issued a lead-off single to John Buck before retiring the next three batters to end the game.

Alvarez (2-1) allowed two runs and six hits in 7 1-3 innings. He is 2-0 with a 1.33 ERA in his last four starts.

Marisnick homered off of Jenrry Mejia (1-1) in the second inning to give the Marlins a 1-0 lead. The 22-year old rookie was hitting .179 (5 for 28) in his first eight games before the home run.

Eric Young nearly matched Marisnick's homer in the third inning, but his long drive to center field hit the top of the fence and stayed in play. Umpires used video replay and upheld the original call, giving Young a triple. He was stranded at third base.

The Marlins added to their lead in the bottom half of the inning with back-to-back sacrifice flies by Polanco and Stanton that made it 3-0.

New York broke through against Alvarez with an RBI double by Ike Davis in the sixth.

Young led off the eighth with a walk and advanced to third on a ground ball to Polanco at third. Alvarez was relieved by Chad Qualls, and Young scored on a passed ball to pull the Mets within 3-2.

David Wright singled, stole second, and advanced to third on a fly out. Dunn came in for Qualls and got pinch-hitter Josh Satin to fly out to left to end the inning.

NOTES: Carlos Torres, New York's scheduled starter for Saturday, pitched a scoreless eighth inning. ... A video montage of Qualls' celebration stumble from Tuesday's game was shown on the scoreboard hours before the game as the Marlins continued to laugh at their teammate's expense. "We lost a tough game, but we all laughed about the whole situation," manager Mike Redmond said. "That was great. Classic." ... RHP Matt Harvey (8-2, 2.11 ERA) will start the series finale for the Mets on Thursday against Marlins RHP Tom Koehler (2-6, 4.67 ERA).