PHILADELPHIA (AP) - Michael Cuddyer hit a go-ahead two-run, pinch-hit single in the sixth inning and Noah Syndergaard finally won on the road as the New York Mets beat the Philadelphia Phillies 6-5 on Tuesday night for their fifth straight victory.

Yoenis Cespedes homered for the Mets, who have won 17 of their last 23 to remain 5 1/2 games up on the Nationals in the NL East.

Ryan Howard and Freddy Galvis homered for Philadelphia, which has lost seven straight to the Mets.

More from FoxSports

Syndergaard (8-6) did just enough to earn his first road victory of the season in his 10th try. He entered 0-5 with a 5.05 ERA away from Citi Field while 8-1 with a 1.82 at home. In five innings, Syndergaard allowed four runs, two of which were earned, on four hits with nine strikeouts and two walks.

Jerome Williams (4-10) took the loss.