Kyle Ross-USA TODAY Sports

Stone Garrett hit a two-run homer to lift the Washington Nationals past the host Philadelphia Phillies 2-1 on Friday.

Dominic Smith contributed three hits and Lane Thomas had two hits for the Nationals, who won their third in a row.

Nationals starter Josiah Gray (6-6) allowed six hits and one run with eight strikeouts and one walk in six innings.

Hunter Harvey threw a scoreless ninth inning for his seventh save in 12 chances.

Alec Bohm led the Phillies with two hits and an RBI.

Bryson Stott and Bryce Harper added two hits for the Phillies, who had their four-game winning streak snapped.

Phillies starter Cristopher Sanchez (0-2) tossed six innings and gave up seven hits and two runs, one earned, with six strikeouts and one walk.

In the ninth, Harvey struck out Stott. Bohm then grounded out to third and Brandon Marsh struck out to end the game.

The Nationals went ahead 2-0 in the second inning when Garrett ripped a two-run homer to left.

The Phillies sliced the deficit in half in the bottom of the second when Bohm hit an RBI single to left.

Garrett doubled and Smith singled to place runners on first and third with one out in the fourth, but Washington wasn't able to generate any runs.

In the bottom of the fourth, the Phillies placed runners at first and second with two outs, but Bohm struck out looking to end the threat.

Stott struck out to complete the sixth with runners at second and third.

Jeff Hoffman pitched the seventh for the Phillies and retired the side in order with two strikeouts.

Mason Thompson allowed a leadoff double to Bohm in the seventh. Marsh and Kody Clemens each struck out and Washington manager Dave Martinez called on reliever Kyle Finnegan to face Kyle Schwarber. Finnegan induced a soft grounder to second.

More must-reads:

TODAY'S BEST
Watch: Panthers' Sam Reinhart nets two goals in first period vs. Rangers
Watch: Big crash ensues on Lap 1 of 2024 Indianapolis 500
Red Sox release well-traveled right-hander
Braves slugger, four-time All-Star leaves game due to knee soreness
Anthony Edwards makes declaration ahead of Game 3 against Mavericks
Watch: Matt Vierling's walk-off HR caps wild game in Detroit
Report: Star Japanese pitcher could move to MLB next year
Royals return Rule 5 pick to Yankees
Sixers viewed as a 'serious danger' to snatch core Nuggets role player
NFL reporter reveals why CeeDee Lamb isn't rushing to sign new contract
Diamondbacks designate struggling right-hander for assignment
Report: 76ers believe this eight-time All-Star would be 'ideal fit'
Pelicans expected to promote from within for GM role
Watch: Massive wreck on first lap delays Monaco Grand Prix
Grayson Murray's parents release heartbreaking statement on cause of death
Rangers designate right-hander for assignment
Florida guard among players withdrawing from NBA Draft
Cubs prospect blasts home run after being thrown at
Stars even series with hard-fought win over Oilers in Game 2
Celtics surge late to take 3-0 lead in Eastern Conference Finals