MIAMI (AP) -- A high pitch count ended Jonathon Niese's night and propelled the Miami Marlins to another walkoff win.
Niese shut down the Marlins through seven innings but, after his pitch count reached 108, the Mets went to their bullpen and it all fell apart.
Casey McGehee hit a sharp grounder that caromed into right field off the back of reliever Gonzalez Germen's foot, allowing the winning run to score, and the Miami Marlins rallied late from a three-run deficit Monday night to beat the New York Mets 4-3.
Jarrod Saltalamacchia hit a tying double in the eighth off Daisuke Matsuzaka, who failed to retire any of the five batters he faced.
"When I was warming up in the bullpen, I was struggling with my command," Matsuzaka said through an interpreter. "I tried to focus on the batter and getting outs. I really regret taking away Niese's win and the team's win."
Giancarlo Stanton had an RBI single and the Marlins scored another run on shortstop Omar Quintanilla's fielding error in the eighth.
"Anytime a game is lost it's tough to watch," Niese said. "But it's just one game. I never want to leave a game but -- 108 pitches -- I figured our bullpen has been doing great."
Niese allowed five hits, struck out six and walked one. He has permitted one run or less in his last four starts.
Christian Yelich led off the ninth with a single off Scott Rice (0-1). He advanced to second on Ed Lucas' sacrifice. Germen intentionally walked Giancarlo Stanton before McGehee got his RBI single.
Marlins closer Steve Cishek (2-1) pitched to a scoreless ninth for the win. Miami improved to 15-5 at home and is 6-1 on its current nine-game homestand.
The Marlins have won two in a row in their final at-bat.
"We're a good ball team," Saltalamacchia said. "We go out there every day and have a good approach."
Yelich and Ed Lucas led off the eighth with walks. Stanton followed with an RBI single and Quintanilla let McGehee get through his legs, allowing Lucas to score. Saltalamacchia doubled to right-center to make it 3-all
Kyle Farnsworth relieved Matsuzaka and, with the infield drawn in, retired Jeff Baker on a grounder to second. Farnsworth walked pinch-hitter Garret Jones and struck out Adeiny Hechavarria and retired Marcel Ozuna on a grounder to third.
"Give Niese a lot of credit -- he looked good out there," Miami manager Mike Redmond said. "We had a tough time early on, trying to figure him out. He shut us down but we were able to hang in there and mount a late rally."
BLUE JAYS 3, PHILLIES 0
PHILADELPHIA -- Jose Reyes hit a leadoff homer, J.A. Happ tossed three-hit ball over five innings and the Toronto Blue Jays beat the Philadelphia Phillies 3-0.
CARDINALS 4, BRAVES 3
ATLANTA -- Matt Carpenter's two-run double in the fifth inning helped carry the St. Louis Cardinals past the slumping Atlanta Braves, who shook up their lineup but still lost their seventh in a row.
NATIONALS 4, DODGERS 0
WASHINGTON -- Anthony Rendon hit a two-run homer in the first inning, and -- thanks to an odd-moving storm that produced an interminable rain delay -- the Washington Nationals didn't finish off the Los Angeles Dodgers until some six hours later on Tuesday morning, gaining sole possession of first place in the NL East.
GIANTS 11, PIRATES 10, 13 INNINGS
PITTSBURGH -- A throwing error by pitcher Jared Hughes on a sacrifice bunt by reliever Jean Machi in the 13th allowed the San Francisco Giants to score the winning run and overcome a six-run deficit to beat the Pittsburgh Pirates.
Machi pitched two scoreless innings and Sergio Romo worked the 13th for his 10th save.
WHITE SOX 3, CUBS 1, 12 INNINGS
CHICAGO -- Marcus Semien hit a tiebreaking RBI double in a two-run 12th, Jose Quintana pitched one-hit ball over seven innings, and the Chicago White Sox beat the Cubs.
BREWERS 8, DIAMONDBACKS 0
MILWAUKEE -- Carlos Gomez hit a home run and drove in three runs to lead the Milwaukee Brewers over the Arizona Diamondbacks.
ROCKIES 8, RANGERS 2
DENVER -- Troy Tulowitzki homered twice, Jordan Lyles pitched eight strong innings and the Colorado Rockies beat the Texas Rangers.
PADRES 6, ROYALS 5, 12 INNINGS
SAN DIEGO -- Will Venable hit a two-run single in the 12th inning to give the San Diego Padres a win over the Kansas City Royals.
MARINERS 4, ATHLETICS 2
OAKLAND, Calif. -- Stefen Romero hit his first major league home run to break a tie in the fifth inning, and the Mariners beat the Athletics for their third straight victory and eighth in 10 games.
ANGELS 4, YANKEES 1
ANAHEIM, Calif. -- The Angels scored three runs on five straight walks in the eighth inning after Jered Weaver escaped a based-loaded jam with no outs in the top half, and Los Angeles beat the Yankees.