PHILADELPHIA (AP) — Alec Bohm hit a sacrifice fly in the bottom of the 10th inning and the Philadelphia Phillies beat the Washington Nationals 6-5 on Thursday night, completing a four-game sweep.

The Phillies have won nine of 10 to improve to three games over .500.

The defending World Series champion Nationals have lost six straight and nine of 10 to fall to 12-23.

Trea Turner hit an inside-the-park homer and Michael Taylor went deep for Washington.

Didi Gregorius sacrificed J.T. Realmuto to third to start the bottom of the 10th inning against Sean Doolittle (0-2). After Jean Segura was intentionally walked, he took second base on defensive indifference. Pinch-hitter Phil Gosselin was then intentionally walked to load the bases.

Bohm hit a shallow fly to center field but Realmuto slid home well ahead of Victor Robles’ throw.

It was Philadelphia’s first four-game sweep against the Nationals since May 15-17, 2009, at Washington. The Phillies hadn’t swept a four-game series against the Nationals franchise in Philadelphia since August 9-12, 1991, when they swept the Montreal Expos at Veterans Stadium.

Phillies starter Zach Eflin gave up four runs and seven hits in six innings. Blake Parker (3-0) pitched out of a bases-loaded jam in the 10th, retiring Brock Holt on a grounder to end the inning.

Nationals starter Anibal Sanchez allowed four runs — one earned — and eight hits in 3 1/3 innings.

Taylor connected off David Phelps in the seventh, giving the Nationals a 5-4 lead on his fourth homer and second in the series.

Pinch-hitter Andrew McCutchen’s RBI grounder off Daniel Hudson tied it at 5 in the eighth.

The Phillies took a 2-0 lead in the first when shifted third baseman Brock Holt couldn’t handle Gregorius’ sharp one-hopper for an error, allowing two runners to score.

Turner tied it at 2 in the third when he circled the bases after his drive hit off the right-center field wall and bounced back toward left-center. He scored easily on a headfirst slide with no play at the plate.

Rhys Hoskins launched his seventh homer in the bottom half and Gregorius added an RBI double to give Philadelphia a 4-2 lead.

Turner’s RBI groundout and Juan Soto’s RBI single tied it at 4 in the fifth.

DICK ALLEN DAY

The Phillies retired Dick Allen’s No. 15 in a ceremony before the game. The 78-year-old Allen was a seven-time All-Star, 1964 National League Rookie of the year and 1972 American League MVP. He batted .292 with 351 homers, 1,119 RBIs and .912 OPS in 15 seasons, including nine with the Phillies over two stints.

UP NEXT

Nationals: RHP Austin Voth (0-4, 7.99 ERA) starts the opener and RHP Will Crowe (0-1, 4.91) pitches the second game of a doubleheader at Atlanta on Friday.

Phillies: RHP Jake Arrieta (2-4, 6.49) takes the mound for the opener of a four-game series at the New York Mets on Friday night.