Rhys Hoskins, Didi Gregorius and Alec Bohm homered, Philadelphia's bullpen turned in a rare sparkling performance and the Phillies snapped a five-game skid with a 5-4 victory over the Atlanta Braves on Sunday night.

It wasn't easy for the Phillies, who watched closer Brandon Workman survive the ninth when Dansby Swanson, the potential tying run, was tagged out at the plate by catcher Andrew Knapp to end the game. The Braves challenged the call, but it was upheld.

More Images
Philadelphia Phillies' Didi Gregorius, right, celebrates with Philadelphia Phillies' Jean Segura, left, after scoring on a solo home run during the third inning of a baseball game against the Atlanta Braves, Sunday, Aug. 23, 2020, in Atlanta. (AP PhotoBrynn Anderson)

Rhys Hoskins, Didi Gregorius and Alec Bohm homered, Philadelphia's bullpen turned in a rare sparkling performance and the Phillies snapped a five-game skid with a 5-4 victory over the Atlanta Braves on Sunday night.

Atlanta Braves relief pitcher Touki Toussaint delivers during the third inning of a baseball game against the Philadelphia Phillies, Sunday, Aug. 23, 2020, in Atlanta. (AP PhotoBrynn Anderson)

Tommy Hunter and Workman pitched the last two innings.

Philadelphia Phillies' J.T. Realmuto (10) hits a solo home run during the third inning of a baseball game against the Atlanta Braves, Sunday, Aug. 23, 2020, in Atlanta. (AP PhotoBrynn Anderson)

Bohm hit his first career homer, a 446-foot shot that carried into the fountain in center field, to make it 1-0 in the second. McCutchen singled, Hoskins went deep to left field and Gregorius connected to right in the third.

Philadelphia Phillies' Andrew Knapp, right, slides into second base during the fourth inning of a baseball game against the Atlanta Braves, Sunday, Aug. 23, 2020, in Atlanta. (AP PhotoBrynn Anderson)

The Braves had won two straight and five of six and were 10-3 at Truist Park this season, the best record in the NL.

Philadelphia Phillies' Adam Haseley bunts during the fourth inning of a baseball game against the Atlanta Braves, Sunday, Aug. 23, 2020, in Atlanta. (AP PhotoBrynn Anderson)

TRAINER’S ROOM

Philadelphia Phillies' Didi Gregorius (18) celebrates after hitting a solo home run during the third inning of a baseball game against the Sunday, Aug. 23, 2020, in Atlanta. (AP PhotoBrynn Anderson)

RARE O-FER

Philadelphia Phillies starting pitcher Zach Eflin (56) delivers during the first inning of a baseball game against the Atlanta Braves on Sunday, Aug. 23, 2020, in Atlanta. (AP PhotoBrynn Anderson)

LATE RALLIES

Philadelphia Phillies' Rhys Hoskins reacts after his two-run home run while rounding second base  during the third inning of a baseball game against the Atlanta Braves, Sunday, Aug. 23, 2020, in Atlanta. (Curtis ComptonAtlanta Journal-Constitution via AP)

Both teams are off Monday and have yet to announce a starter for Tuesday. The Phillies open a three-game series at Washington against RHP Erick Fedde (1-1, 2.55). Atlanta faces Gerrit Cole (4-0, 2.75) as it begins a two-game home series against the Yankees.

Heath Hembree, making in Phillies' debut, retired his two batters in the sixth to strand a pair of runners in scoring position, helping a bullpen that began the night with an 8.29 ERA that was by far the worst in the majors.

Philadelphia Phillies' Didi Gregorius, right, celebrates with Philadelphia Phillies' Jean Segura, left, after scoring on a solo home run during the third inning of a baseball game against the Atlanta Braves, Sunday, Aug. 23, 2020, in Atlanta. (AP PhotoBrynn Anderson)

Philadelphia Phillies' Didi Gregorius, right, celebrates with Philadelphia Phillies' Jean Segura, left, after scoring on a solo home run during the third inning of a baseball game against the Atlanta Braves, Sunday, Aug. 23, 2020, in Atlanta. (AP PhotoBrynn Anderson)

Tommy Hunter and Workman pitched the last two innings.

Philadelphia took a 5-3 lead in the fourth on Andrew McCutchen’s RBI single, but left the bases loaded when Bryce Harper and J.T. Realmuto popped up. They did the same in the fifth when McCutchen flew out.

The lead was enough for the Phillies to win in Atlanta for just the seventh time in 22 games, a span of three seasons. Philadelphia improved to 2-6 on the road this year.

Atlanta Braves relief pitcher Touki Toussaint delivers during the third inning of a baseball game against the Philadelphia Phillies, Sunday, Aug. 23, 2020, in Atlanta. (AP PhotoBrynn Anderson)

Atlanta Braves relief pitcher Touki Toussaint delivers during the third inning of a baseball game against the Philadelphia Phillies, Sunday, Aug. 23, 2020, in Atlanta. (AP PhotoBrynn Anderson)

Bohm hit his first career homer, a 446-foot shot that carried into the fountain in center field, to make it 1-0 in the second. McCutchen singled, Hoskins went deep to left field and Gregorius connected to right in the third.

Atlanta cut the lead to 4-3 in the third on Freddie Freeman’s RBI double and Marcell Ozuna’s RBI single.

Josh Tomlin gave up six hits and four runs in three innings. Touki Toussaint, Atlanta’s next pitcher, allowed one run and two hits in 1 1/3 innings.

Philadelphia Phillies' J.T. Realmuto (10) hits a solo home run during the third inning of a baseball game against the Atlanta Braves, Sunday, Aug. 23, 2020, in Atlanta. (AP PhotoBrynn Anderson)

Philadelphia Phillies' J.T. Realmuto (10) hits a solo home run during the third inning of a baseball game against the Atlanta Braves, Sunday, Aug. 23, 2020, in Atlanta. (AP PhotoBrynn Anderson)

The Braves had won two straight and five of six and were 10-3 at Truist Park this season, the best record in the NL.

Zach Eflin (1-1) allowed three runs and six hits in 5 1/3 innings. He improved to 4-3 with a 3.82

Bohm reached four times, including walk and two singles.

Philadelphia Phillies' Andrew Knapp, right, slides into second base during the fourth inning of a baseball game against the Atlanta Braves, Sunday, Aug. 23, 2020, in Atlanta. (AP PhotoBrynn Anderson)

Philadelphia Phillies' Andrew Knapp, right, slides into second base during the fourth inning of a baseball game against the Atlanta Braves, Sunday, Aug. 23, 2020, in Atlanta. (AP PhotoBrynn Anderson)

TRAINER’S ROOM

Phillies: Manager Joe Girardi said LHP Ranger Suárez (COVID-19) threw in a game Saturday at the team’s alternate training site in Lehigh Valley. ... RHP David Robertson (Tommy John surgery) threw to some batters standing in.

Braves: Manager Brian Snitker said OF Ronald Acuña Jr. (left wrist inflammation) took batting practice and added the team will see how he responds Monday before deciding whether he can be activated Tuesday against the New York Yankees. ... 2B Ozzie Albies (right wrist bone contusion) will swing a bat Monday, but Snitker had no immediate timetable on him.

Philadelphia Phillies' Adam Haseley bunts during the fourth inning of a baseball game against the Atlanta Braves, Sunday, Aug. 23, 2020, in Atlanta. (AP PhotoBrynn Anderson)

Philadelphia Phillies' Adam Haseley bunts during the fourth inning of a baseball game against the Atlanta Braves, Sunday, Aug. 23, 2020, in Atlanta. (AP PhotoBrynn Anderson)

RARE O-FER

Harper, who homered and walked Saturday to boost his OPS to 1.192, tops in the majors struck out three times. He had reached safely in all 22 games this season.

TOP PROSPECT

Snitker said rookie OF Cristian Pache was promoted primarily to help defensively late in games, not to be in the everyday lineup. Pache, the team’s top prospect, made an impressive throw to the plate late in Saturday’s win and was in Friday’s lineup batting ninth while making his debut.

Philadelphia Phillies' Didi Gregorius (18) celebrates after hitting a solo home run during the third inning of a baseball game against the Sunday, Aug. 23, 2020, in Atlanta. (AP PhotoBrynn Anderson)

Philadelphia Phillies' Didi Gregorius (18) celebrates after hitting a solo home run during the third inning of a baseball game against the Sunday, Aug. 23, 2020, in Atlanta. (AP PhotoBrynn Anderson)

LATE RALLIES

Saturday’s 6-5 victory was the Braves’ 83rd in their final at-bat since Snitker took charge on May 17, 2016. That’s the most in the majors over that span. The Braves lead the NL this season with six victories in their final at-bat. They rank first in the majors with four victories when trailing after seven innings.

UP NEXT

Philadelphia Phillies starting pitcher Zach Eflin (56) delivers during the first inning of a baseball game against the Atlanta Braves on Sunday, Aug. 23, 2020, in Atlanta. (AP PhotoBrynn Anderson)

Philadelphia Phillies starting pitcher Zach Eflin (56) delivers during the first inning of a baseball game against the Atlanta Braves on Sunday, Aug. 23, 2020, in Atlanta. (AP PhotoBrynn Anderson)

Both teams are off Monday and have yet to announce a starter for Tuesday. The Phillies open a three-game series at Washington against RHP Erick Fedde (1-1, 2.55). Atlanta faces Gerrit Cole (4-0, 2.75) as it begins a two-game home series against the Yankees.

More AP baseball: https://apnews.com/MLB and https://twitter.com/AP-Sports

Philadelphia Phillies' Rhys Hoskins reacts after his two-run home run while rounding second base  during the third inning of a baseball game against the Atlanta Braves, Sunday, Aug. 23, 2020, in Atlanta. (Curtis ComptonAtlanta Journal-Constitution via AP)

Philadelphia Phillies' Rhys Hoskins reacts after his two-run home run while rounding second base during the third inning of a baseball game against the Atlanta Braves, Sunday, Aug. 23, 2020, in Atlanta. (Curtis ComptonAtlanta Journal-Constitution via AP)