Sam Navarro-USA TODAY Sports

Rookie catcher Nick Fortes hit a 419-foot, walk-off home run in the ninth inning to give the host Miami Marlins to a 3-2 win over the New York Mets on Sunday afternoon.

It was the first career game-ending hit for Fortes, who was playing in just his 27th major league game.

Tanner Scott (3-2) pitched a scoreless ninth inning to earn the win. He stranded J.D. Davis at third base by striking out James McCann on a 3-2 slider to set up Fortes' heroics.

Adam Ottavino (2-2) took the loss. He retired the first two batters in the ninth before Fortes belted a 0-1 slider to right.

The Mets' Brandon Nimmo had a solo homer and a double. Pete Alonso drove in one run for New York, extending his major-league lead with 69 RBIs. The first-place Mets were held to just five hits.

Miguel Rojas added a solo homer for the Marlins, who kept the Mets from completing a three-game sweep.

Mets starter David Peterson struck out a season-high eight batters, allowing four hits, no walks and two runs in seven innings. He retired 13 of the final 14 batters he faced.

Marlins starter Daniel Castano allowed five hits, two walks and two runs in seven innings. He struck out four, retiring 14 of the final 15 batters he faced.

Miami took its first lead of this series in the first inning as Jon Berti hit a leadoff double, advanced on Rojas' groundout and scored on Garrett Cooper's sacrifice fly.

Castano stranded a leadoff double in the first (Nimmo) and again in the second (Davis).

Nimmo tied the score in the third with a 418-foot line-drive homer to center. Starling Marte followed with a double and Alonso drove him in with a jam-shot double over first base.

Peterson struck out five straight batters between the first and third innings, a streak that was snapped by Rojas' 393-foot homer to left to tie the score 2-2.

More must-reads:

TODAY'S BEST
Saints, star CB 'moving forward' following trade chatter
Pacers ride historic shooting performance to Game 7 blowout of Knicks
Timberwolves mount incredible second-half comeback to stun Nuggets in Game 7
Xander Schauffele proves doubters wrong with historic win at 2024 PGA Championship
Four things we learned from Joey Logano's All-Star Race win at North Wilkesboro
Phil Foden lifts Manchester City to fourth consecutive English Premier League title
Watch: Aaron Judge blasts 13th home run in Yankees' seventh straight win
Canucks won't have linchpin forward for Game 7 vs. Oilers
Jags reportedly mulling extension for Trevor Lawrence, but is that the right choice?
Gordon Hayward calls role with Thunder 'frustrating'
Mets reliever Edwin Diaz showing short shelf life of closers
Three offseason moves the 49ers must make
Watch: NASCAR drivers exchange punches after crash in All-Star Race
Knicks star offers passionate defense of HC Tom Thibodeau after Game 7 loss
Knicks' Jalen Brunson suffers serious injury in Game 7 vs. Pacers
Dodgers add recently acquired left-hander to active roster
Report: 2023 No. 7 pick expected to terminate KHL contract, join Flyers
Mavericks advance to Western Conference Finals aided by controversial call late
Connor McDavid, Oilers hammer Canucks to force Game 7
Tyson Fury-Oleksandr Usyk epic increases excitement for potential rematch

Want more sports news?

Join the hundreds of thousands of fans who start their day with Yardbarker's Morning Bark, the best newsletter in sports.