Updated

ATLANTA -- Little-used Lane Adams drove in three runs with a pinch-hit, bases-loaded double in the sixth, giving Atlanta the lead, and the Braves beat the struggling Arizona Diamondbacks 8-5 on Saturday night.

Adams was hitting only .214 in 28 at-bats before his double to the left-field wall off Randall Delgado (1-2) cleared the bases. Arizona led 3-2 before Atlanta's four-run inning.

The Diamondbacks have lost seven of eight and 10 of 13.

Brandon Phillips had three hits, including a homer. Ender Inciarte also had three hits.

After Arizona scored two runs in the eighth to cut Atlanta's lead to 7-5, Jace Peterson hit a pinch-hit homer off Jorge De La Rosa into the top level of seats in right field in the bottom of the inning.

Patrick Corbin's streak of 28 consecutive scoreless innings against Atlanta ended with Phillips' homer with one out in the third. The streak was the longest by an Arizona pitcher against a team to start his career. It covered six games, including four starts, and began on June 28, 2012.

Inciarte's one-out single in the fifth set up Brandon Phillips' double off Corbin to give Atlanta a 2-1 lead.

Braves starter Mike Foltynewicz, who threw 51 pitches in the first two innings, allowed three runs in 5 1/3 innings. Ian Krol (2-2) recorded the final out in the sixth. Jim Johnson pitched a perfect ninth for his 21st save in 28 chances.

Foltynewicz had thrown 95 pitches when he was allowed to take the mound to open the sixth. Chris Herrmann doubled and scored on a one-out single by pinch-hitter Daniel Descalso, tying the game at 2-2. A review confirmed the call on the field that Herrmann's hand touched the plate on his slide before he was tagged by Kurt Suzuki.

Descalso scored from second on Paul Goldschmidt's single to center field off Luke Jackson, giving Arizona a 3-2 lead.

Arizona trailed 7-3 before scoring two runs in the eighth. Braves left-hander Sam Freeman didn't record an out while giving up two walks and a single. David Peralta's groundout against Rex Brothers drove in a run. Goldschmidt added another RBI groundout.

Corbin allowed two runs on six hits in five innings.

RECORD CROWD

The attendance was 41,627, setting a season high in new SunTrust Park.

UP NEXT

Diamondbacks: RHP Zack Godley (3-3, 2.58) allowed seven runs in five innings in only start against the Braves on Aug. 22, 2016. This year, he has not allowed more than three runs in any of his 11 starts.

Braves: LHP Jaime Garcia (2-7, 4.55) is 5-2 with a 4.00 ERA in seven career starts against Arizona. He has allowed five or more runs in four straight starts and has lost his last four decisions.