MIAMI (AP) — Rookie Khalil Lee picked a pivotal time to finally put a ball in play. Lee hit a tiebreaking RBI double in the 12th inning for his first career hit after strikeouts in his first eight plate appearances — a major league record — and the New York Mets beat the Miami Marlins 6-5 Friday.

“This is about the best scenario you could draw up, to come up in a big situation with the team counting on me, and to come through with the lights shining,” Lee said.

READ MORE: Police ID Bodies Of Two Girls Found In Lauderhill Canal, Name Mother Person Of Interest

Jake Hager also registered his first big league hit, a leadoff single in the 12th off Adam Cimber (0-1) that advanced the automatic runner to third. After Lee pulled a double to right field, Johneshwy Fargas hit a two-run triple but was thrown out trying to stretch his hit into an inside-the-park homer.

Lee made his big league debut last week, and manager Luis Rojas said it was exciting to see him come through after looking uncomfortable at the plate in earlier games.

“He was trying to hit the ball 600 feet,” Rojas said. “The kid has pop. That’s what got him here. He just has to make contact.”

The Mets won despite totaling only eight hits against 10 Miami pitchers. The Miami bullpen retired 15 consecutive batters during one stretch.

“It’s a big win,” Rojas said. “It’s emotional because of all the things we had to do.”

The Marlins debuted uniforms with bright red pinstripe jerseys honoring the Cuban Sugar Kings, who won the Triple-A championship in 1959, but the new look failed to spark their sputtering offense. They went 3 for 17 with runners in scoring position and fell to 4-9 in one-run games.

“We just weren’t able to get the big hit when we needed it,” manager Don Mattingly said.

READ MORE: 2 Of South Florida’s Top Cops React To Miami-Dade Mayor’s White House Visit For Gun Violence Discussion

Garrett Cooper #26 of the Miami Marlins high fives third base coach Trey Hillman #88 after hitting a two-run home run in the seventh inning against the New York Mets at loanDepot park on May 21, 2021 in Miami, Florida. (Photo by Michael Reaves/Getty Images)

Miami’s Garrett Cooper tied the game with a two-run homer in the seventh, his fourth. But he struck out against Trevor May with the bases loaded to end the eighth.

Drew Smith (1-0) stranded a runner at third in the 11th. Jacob Barnes got the game’s final out for his first save since 2018.

“The pen has been incredible,” Mets starter Marcus Stroman said. “They’ve showed up every single time.”

Stroman allowed two runs in six-plus innings and struck out eight, but he remained winless since April 18. He departed after giving up a leadoff walk in the seventh, and Cooper followed with his homer off Miguel Castro.

Francisco Lindor and Tomás Nido contributed RBI doubles for the Mets. Lindor drove home the first run in the first inning, and he scored from second on a flyout when center fielder Magneuris Sierra made an errant throw to third.

Nido’s RBI double came in the fourth, but he was thrown out by Sierra trying to score on a two-out single.

New York has six consecutive victories in Miami since July 13, 2019.

MORE NEWS: Miami Dolphins Team Up With Big Brothers Big Sisters Of Broward For Pride Month Initiative

(© Copyright 2021 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)