Getty Images

The Phillies, clinging to contention in baseball's most winnable division, were staring at a doubleheader sweep and a series loss to the Nationals early in the second game of the twinbill on Thursday afternoon. Philadelphia, after getting beat by soon-to-be-traded Max Scherzer in the first game, fell behind Washington 7-0 in the third inning of a seven-inning game.

The Phillies chipped away a bit with some solo homers, including back-to-back jacks from Andrew McCutchen and Alec Bohm, but they trailed 7-4 entering the seventh inning. That was still the score with two outs and nobody on before the Phillies launched a comeback. Bohm notched a run-scoring single to cut the deficit to two before JT Realmuto tied things up with a bases-loaded base hit to left field.

The Phillies fell behind again in the eighth, 8-7. But they managed to load the bases again in the bottom of the frame. Phillies pitcher Aaron Nola was forced to enter the game as a pinch-hitter and he drew a walk to load the bases.

Then Brad Miller stepped to the plate:

Miller's walk-off grand slam completed the comeback and pushed the Phillies back to .500 at 51-51. It was the team's first comeback of at least seven runs since the club overcame a 9-2 hole against the Dodgers on Aug. 12, 2010.

The win could prove to be an important one as the Phillies stay within striking distance of the first-place Mets in the underwhelming NL East. The Phillies, 3 1/2 games back of the Mets, now head across the commonwealth to face the Pirates for a three-game weekend set in Pittsburgh.