The Phillies finally won a series against the Miami Marlins as they won Sunday afternoon 7-4. More importantly, they continued to gain ground on the first-place New York Mets.

The Phils won both games Sunday against the Marlins, moving to 47-45 and two games back in the NL East of the Mets, who overcame a six-run deficit to beat the Pittsburgh Pirates.

It is the closest the Phillies have been to first place since May 19. The victory ended a stretch of five straight series against the Marlins without a series win. 

The day began with a walk-off home run from J.T. Realmuto, 14 minutes into the resumption of Saturday night’s suspended game. 

The Phillies were feeling high heading into game two with their ace, Zack Wheeler, on the mound against a team he’d dominated twice in a row to the tune of one earned run in 14 innings.

The Phils jumped out to an early two-run lead before Wheeler had his worst inning of the season in the third. With one out, Wheeler allowed a single, a single, a double, a hard-hit sacrifice fly, a two-run homer, and another single before getting out of it. All of the balls were well-struck as the Marlins took a two-run lead.

Wheeler rebounded to finish six innings and wasn’t scored on the rest of the way, keeping the Phils in the game to tie it in the fifth and go ahead in the sixth.

With the Phillies trailing by two in the sixth, Andrew McCutchen hit his 16th homer of the season and Didi Gregorius followed two batters later with his eighth. 

The Phils went ahead in the sixth when Travis Jankowski and Brad Miller hit pinch-hit singles to put runners on the corners and Jean Segura followed with a line drive sac fly to center. Insurance was added when McCutchen beat out a double-play ball to score another run.

J.T. Realmuto singled in the final run in the eighth after Jankowski bunted his way on, stole second, and advanced to third on a sacrifice bunt.

Ah yes, small ball.

Jankowski continues to play surprisingly well offensively and is hitting .375 through 60 plate appearances.

There was a scare in the eighth inning when the Marlins loaded the bases with two outs against Connor Brogdon, but young lefty Bailey Falter — who has been impressive — struck out Monte Harrison on a high, 93 mph fastball to end the inning.

Hector Neris picked up the save. Ranger Suarez appeared in games Friday and Saturday and Phillies manager Joe Girardi does not use relievers three days in a row.

The last two weeks have certainly been the best of the Phillies’ season. They’ve won four straight series over the San Diego Padres, Chicago Cubs, Boston Red Sox, and Marlins. They are 10-4 in the month of July with an off day coming Monday, then a two-game series in New York against a struggling Yankees team. Then they roll into back-to-back four-game series at home against the Atlanta Braves and Washington Nationals.