A seven-game winning streak, sparked by a four-game sweep of the New York Mets, helped Philadelphia surge past the finish line.

PHILADELPHIA (WPVI) -- J.T. Realmuto drove in the go-ahead run on a sacrifice fly in the 10th inning, capping a wild 6-5 comeback victory by the Philadelphia Phillies over the Los Angeles Dodgers that clinched the NL East title in the series opener between division leaders.
With Harrison Bader at second base to start the 10th, Kyle Schwarber lined out to second before Blake Treinen intentionally walked Bryce Harper. Bader and Harper pulled off a double steal to set up Realmuto's sac fly to right.
The Dodgers had the bases loaded in the bottom of the inning, when Mookie Betts started at second. David Robertson intentionally walked Freddie Freeman and walked Alex Call before Max Muncy grounded out to first to end it.
Andy Pages homered off Phillies closer Jhoan Duran in the ninth to tie it 5-5.
Harper's go-ahead home run off reliever Alex Vesia leading off the eighth put the Phillies ahead 5-4.
With the New York Mets off, the Phillies clinched their second straight division title after blowing leads of 1-0, 4-3 and 5-4. They had earned their fourth straight postseason berth on Sunday in a 10-3 loss to Kansas City.
Schwarber hit his 53rd homer against opener Anthony Banda in the first and No. 9 hitter Weston Wilson added a two-run shot off reliever Jack Dreyer in the seventh for the Phillies.
It was Schwarber's 22nd homer against a lefty, tying Stan Musial in 1949 and Matt Olson in 2021 for the most by a lefty batter off left-handed pitchers, according to the Elias Sports Bureau.

The NL West-leading Dodgers tied the game 4-4 on Mookie Betts' homer off reliever Orion Kerkering with two outs in the seventh.
Dodgers pitcher Emmet Sheehan didn't allow a hit over 5 2/3 innings and left with a 3-1 lead after a leadoff double to Otto Kemp in the seventh. Dreyer gave up a RBI single to Bryson Stott and Wilson followed with his 417-foot shot to center.
Max Muncy put the Dodgers in front 2-1 with a homer leading off the fifth, his first since Aug. 11.
Betts had a pair of sacrifice flies, the first tying the game 1-1 in the third and the second extending the Dodgers' lead to 3-1 in the fifth.
Phillies starter Ranger Suárez allowed three runs and seven hits in six innings. He struck out five and walked two.
Philadelphia currently holds the No. 2 seed in the National League, which would grant a first-round bye and home-field advantage through the NL Division Series. The Milwaukee Brewers remain in the top spot, but the Phillies are within striking distance and could still claim the No. 1 seed with a strong finish.
Clinching the No. 1 seed earns a first-round bye and home-field advantage through the National League Championship Series.
Best of three, all games at better seed's stadium
Best of five
Best of seven
Best of seven
* If necessary
The Associated Press contributed to this report.