PHILADELPHIA (AP) — David Wright had an RBI single with two outs in the 14th inning, leading the New York Mets to a 5-4 victory over the Philadelphia Phillies in the second straight marathon game between the teams.

Ruben Tejada #11 of the New York Mets scores before the throw gets to catcher Carlos Ruiz #51 of the Philadelphia Phillies (Rich Schultz/Getty Images)

New York needed 5 hours, 32 minutes to win this one after losing to the Phillies 6-5 in a 14-inning game Friday night that took 5:23 to complete.

The Phillies and Mets have played 37 innings in three games with two more still to play in the rare five-game series.

Buddy Carlyle (1-0), who was called up from Triple-A Las Vegas prior to the game as an emergency arm after the Mets used eight pitchers on Friday. He tossed three scoreless innings to earn his first big league win since June 25, 2008.

The Mets went without a hit in extra innings until Wright's knock off Antonio Bastardo (3-3). Bastardo walked Ruben Tejada to start the 14th, and Tejada went to second on Juan Lagares' sacrifice bunt. After Daniel Murphy popped out, Wright lined a single to left to score Tejada.

(Copyright 2014 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)