Gregory Fisher-USA TODAY Sports

Luis Guillorme delivered the walk-off RBI double in the 10th inning for the host New York Mets, who snapped a four-game losing streak with a 2-1 win over the Los Angeles Dodgers.

The Mets, who were outscored 12-3 and outhit 22-10 in the three-game series, improved to 14-23 since June 1. The Dodgers' six-game winning streak was snapped.

Guillorme, pinch-hitting for Mark Canha with automatic runner Brett Baty at second, failed to put the ball in play on consecutive bunt attempts against Nick Robertson (0-1) before doubling down the first base line past a drawn-in Freddie Freeman to easily score Baty.

It was the first career walk-off hit for Guillorme.

David Robertson (4-2) allowed one hit over two scoreless innings and stranded automatic runner James Outman at third in the top of the 10th by getting Will Smith to ground out and retiring Mookie Betts on a long flyout.

Brandon Nimmo had an RBI groundout in the fifth for the Mets, who received seven innings of one-hit ball from Max Scherzer. The right-hander, who gave up a second-inning single to Jason Heyward, walked three and struck out six over seven innings. It was the seventh time Scherzer has thrown at least seven innings and allowed one hit or fewer, tied for the 14th-most all-time.

Betts had a game-tying RBI single in the eighth. Dodgers starter Bobby Miller gave up one run on three hits and one walk while striking out five over 4 2/3 innings.

The Mets built their first run in the fifth. Starling Marte led off with a single and stole second as Baty struck out. Canha was then plunked by a pitch and Omar Narvaez drew a walk before Marte scored on a groundout by Nimmo, whose comebacker glanced off Miller's glove and left him no chance at turning a double play.

The Dodgers tied the game against Trevor Gott in the eighth. Outman drew a leadoff walk, went to second on a single by Miguel Rojas, advanced to third on Smith's flyout to right and scored on Betts' single to left.

More must-reads:

TODAY'S BEST
Phil Foden lifts Manchester City to fourth consecutive English Premier League title
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
Seize the Grey wins in muddy Preakness
Even Mike Budenholzer admits the Suns need a point guard
Watch: Juan Soto's first multi-homer game as a Yankee
Xander Schauffele, Collin Morikawa lead at PGA Championship
Knicks could get major boost for Game 7 showdown with Pacers
Giants All-Star pitcher suffers setback in recovery from injury
Panthers star named winner of 2024 Selke Trophy
WNBA to investigate $100,000 sponsorship deals for Aces players
Tiger Woods blames one big factor for missing the cut at PGA Championship
'Ain't good enough': Draymond Green claims Celtics must 'win it all' or it's a 'failure'
Blue Jays GM wants struggling club to feel 'massive sense of urgency'
Raptors expected to flip former NBA champion during the offseason
MLB insider reveals Mets' massive extension offer that Pete Alonso turned down
Celtics legend provides update after gruesome finger injury