Rhys Hoskins and Jose Pirela hit two-run homers off Dallas Keuchel in Philadelphia's five-run fourth inning and the Phillies escaped in the ninth to beat Atlanta 5-4 on Tuesday night and prevent the Braves from moving closer to clinching the NL East.

Vince Velasquez (7-7) gave up two runs in the first before recovering with four straight scoreless innings. The right-hander allowed five hits in five innings.

More Images
Atlanta Braves' Ozzie Albies runs on a tripled during the first inning of the team's baseball game against the Philadelphia Phillies on Tuesday, Sept. 17, 2019, in Atlanta. (AP PhotoJohn Bazemore)

Rhys Hoskins and Jose Pirela hit two-run homers off Dallas Keuchel in Philadelphia's five-run fourth inning and the Phillies escaped in the ninth to beat Atlanta 5-4 on Tuesday night and prevent the Braves from moving closer to clinching the NL East.

Covington, Ga., police officer Matt Cooper reacts after throwing out the ceremonial first pitch before a baseball game between the Philadelphia Phillies and the Atlanta Braves on Tuesday, Sept. 17, 2019, in Atlanta. Cooper was shot in the line of duty a year ago. (AP PhotoJohn Bazemore)

Neris walked Ronald Acuña Jr., who stole second and moved to third on Ozzie Albies' groundout to Hoskins at first. Neris walked Freddie Freeman before striking out Josh Donaldson on a called third strike. Neris earned his 27th save when Nick Markakis popped out to end the game.

Philadelphia Phillies' Jose Pirela follows through on a three-run home run during the fourth inning of the team's baseball game against the Atlanta Braves on Tuesday, Sept. 17, 2019, in Atlanta. (AP PhotoJohn Bazemore)

The Phillies' big inning began when Braves third baseman Donaldson bobbled Bryce Harper's grounder after cutting in front of shortstop Dansby Swanson in an attempt to field the ball. Hoskins followed Harper's infield hit with his 29th homer to right field.

Atlanta Braves starting pitcher Dallas Keuchel stands on the mound as Philadelphia Phillies' Rhys Hoskins runs the bases after hitting a two-run home run during the fourth inning of a baseball game Tuesday, Sept. 17, 2019, in Atlanta. (AP PhotoJohn Bazemore)

Hechavarría's homer was the Braves' franchise-record 236th of the season. Duvall's homer pushed the new record to 237. Atlanta hit 235 homers in 2003.

Philadelphia Phillies' Jose Pirela gestures as he runs the bases after hitting a three-run home run during the fourth inning of the team's baseball game against the Atlanta Braves on Tuesday, Sept. 17, 2019, in Atlanta. (AP PhotoJohn Bazemore)

Phillies: OF Corey Dickerson was placed on the 60-day IL with a broken bone in his left foot. Manager Gabe Kapler said a follow-up test revealed the fracture after initial X-rays were negative. Dickerson had not played since Sept. 11. RHP Edubray Ramos (right shoulder impingement) was reinstated from the 60-day IL.

Philadelphia Phillies' Rhys Hoskins runs to first base after hitting a two-run home run during the fourth inning of the team's baseball game against the Atlanta Braves on Tuesday, Sept. 17, 2019, in Atlanta. (AP PhotoJohn Bazemore)

Braves: RHP Julio Teheran (10-9, 3.50) will try for his first win of the season against the Phillies. He is 0-2 with an 8.00 ERA in two starts against the Phillies this year.

A ball hit for a double by Philadelphia Phillies pinch-hitter Adam Haseley drops in front of Atlanta Braves left fielder Nick Markakis during the sixth inning of a baseball game Tuesday, Sept. 17, 2019, in Atlanta. (AP PhotoJohn Bazemore)

A ball hit for a double by Philadelphia Phillies pinch-hitter Adam Haseley drops in front of Atlanta Braves left fielder Nick Markakis during the sixth inning of a baseball game Tuesday, Sept. 17, 2019, in Atlanta. (AP PhotoJohn Bazemore)

Adeiny Hechavarría's pinch-hit homer off José Alvarez in the eighth cut Philadelphia's lead to two runs. Adam Duvall led off the ninth with a homer off Phillies closer Héctor Neris, cutting the lead to one run.

Atlanta Braves' Ozzie Albies runs on a tripled during the first inning of the team's baseball game against the Philadelphia Phillies on Tuesday, Sept. 17, 2019, in Atlanta. (AP PhotoJohn Bazemore)

Atlanta Braves' Ozzie Albies runs on a tripled during the first inning of the team's baseball game against the Philadelphia Phillies on Tuesday, Sept. 17, 2019, in Atlanta. (AP PhotoJohn Bazemore)

Neris walked Ronald Acuña Jr., who stole second and moved to third on Ozzie Albies' groundout to Hoskins at first. Neris walked Freddie Freeman before striking out Josh Donaldson on a called third strike. Neris earned his 27th save when Nick Markakis popped out to end the game.

The Braves began the night needing a combination of three wins and Washington losses to clinch the division. The Phillies were five games behind the Chicago Cubs in the race for the second NL wild card.

Keuchel's streak of five straight wins ended when he gave up five runs in five innings. Keuchel (8-6) allowed a combined four earned runs in his winning streak but topped that total in the fourth.

Covington, Ga., police officer Matt Cooper reacts after throwing out the ceremonial first pitch before a baseball game between the Philadelphia Phillies and the Atlanta Braves on Tuesday, Sept. 17, 2019, in Atlanta. Cooper was shot in the line of duty a year ago. (AP PhotoJohn Bazemore)

Covington, Ga., police officer Matt Cooper reacts after throwing out the ceremonial first pitch before a baseball game between the Philadelphia Phillies and the Atlanta Braves on Tuesday, Sept. 17, 2019, in Atlanta. Cooper was shot in the line of duty a year ago. (AP PhotoJohn Bazemore)

The Phillies' big inning began when Braves third baseman Donaldson bobbled Bryce Harper's grounder after cutting in front of shortstop Dansby Swanson in an attempt to field the ball. Hoskins followed Harper's infield hit with his 29th homer to right field.

Pirela's first homer, off the facing of the second deck in left field, drove in Sean Rodríguez, who singled. César Hernández drove in Scott Kingery, who reached on an infield hit.

Albies hit a triple into the right field corner with one out in the first. Following the first of Velasquez's two walks to Freeman, Albies scored on Donaldson's fly ball to left field. Matt Joyce drove in Freeman with a single to left.

Philadelphia Phillies' Jose Pirela follows through on a three-run home run during the fourth inning of the team's baseball game against the Atlanta Braves on Tuesday, Sept. 17, 2019, in Atlanta. (AP PhotoJohn Bazemore)

Philadelphia Phillies' Jose Pirela follows through on a three-run home run during the fourth inning of the team's baseball game against the Atlanta Braves on Tuesday, Sept. 17, 2019, in Atlanta. (AP PhotoJohn Bazemore)

Hechavarría's homer was the Braves' franchise-record 236th of the season. Duvall's homer pushed the new record to 237. Atlanta hit 235 homers in 2003.

TRAINER'S ROOM

Braves: OF Ender Inciarte (right hamstring strain) worked on outfield drills before batting practice but is "still a ways away" from game action, according to manager Brian Snitker. Inciarte has been out since Aug. 17. ... IF Charlie Culberson, already declared out for the season, was placed on the 60-day injured list when the team recalled C John Ryan Murphy from Triple-A Gwinnett. Culberson suffered multiple broken facial bones when he was hit in the face by a pitch from Washington's Fernando Rodney on Saturday. He will not require surgery.

Atlanta Braves starting pitcher Dallas Keuchel stands on the mound as Philadelphia Phillies' Rhys Hoskins runs the bases after hitting a two-run home run during the fourth inning of a baseball game Tuesday, Sept. 17, 2019, in Atlanta. (AP PhotoJohn Bazemore)

Atlanta Braves starting pitcher Dallas Keuchel stands on the mound as Philadelphia Phillies' Rhys Hoskins runs the bases after hitting a two-run home run during the fourth inning of a baseball game Tuesday, Sept. 17, 2019, in Atlanta. (AP PhotoJohn Bazemore)

Phillies: OF Corey Dickerson was placed on the 60-day IL with a broken bone in his left foot. Manager Gabe Kapler said a follow-up test revealed the fracture after initial X-rays were negative. Dickerson had not played since Sept. 11. RHP Edubray Ramos (right shoulder impingement) was reinstated from the 60-day IL.

UP NEXT

Phillies: RHP Zach Eflin (8-12, 4.20) is 0-3 with an 11.57 ERA while lasting only a combined 9 1/3 innings in three starts against Atlanta this season.

Philadelphia Phillies' Jose Pirela gestures as he runs the bases after hitting a three-run home run during the fourth inning of the team's baseball game against the Atlanta Braves on Tuesday, Sept. 17, 2019, in Atlanta. (AP PhotoJohn Bazemore)

Philadelphia Phillies' Jose Pirela gestures as he runs the bases after hitting a three-run home run during the fourth inning of the team's baseball game against the Atlanta Braves on Tuesday, Sept. 17, 2019, in Atlanta. (AP PhotoJohn Bazemore)

Braves: RHP Julio Teheran (10-9, 3.50) will try for his first win of the season against the Phillies. He is 0-2 with an 8.00 ERA in two starts against the Phillies this year.

More AP MLB: https://apnews.com/MLB and https://twitter.com/AP_Sports

Philadelphia Phillies' Rhys Hoskins runs to first base after hitting a two-run home run during the fourth inning of the team's baseball game against the Atlanta Braves on Tuesday, Sept. 17, 2019, in Atlanta. (AP PhotoJohn Bazemore)

Philadelphia Phillies' Rhys Hoskins runs to first base after hitting a two-run home run during the fourth inning of the team's baseball game against the Atlanta Braves on Tuesday, Sept. 17, 2019, in Atlanta. (AP PhotoJohn Bazemore)

A ball hit for a double by Philadelphia Phillies pinch-hitter Adam Haseley drops in front of Atlanta Braves left fielder Nick Markakis during the sixth inning of a baseball game Tuesday, Sept. 17, 2019, in Atlanta. (AP PhotoJohn Bazemore)

A ball hit for a double by Philadelphia Phillies pinch-hitter Adam Haseley drops in front of Atlanta Braves left fielder Nick Markakis during the sixth inning of a baseball game Tuesday, Sept. 17, 2019, in Atlanta. (AP PhotoJohn Bazemore)