PHOENIX -- Scoring six runs in their past four games, the floundering D-backs needed a spark.With one swing of the bat on Sunday, Gerardo Parra provided all the jolting his club needed. On the back of a Parra grand slam, the D-backs snapped their five-game losing streak by defeating the Braves, 6-4, at Chase Field. "I just tried to put the ball in play, nothing too much," Parra said. "I got a good swing and a good pitch, too. I was very excited to be able to hit the home run and help the team win. The last four games, it's been bad, but everybody kept working hard." D-backs starter Ian Kennedy cooled the scorching Braves lineup -- which had scored 45 runs in its past five games -- allowing three runs on nine hits over seven innings. The club's ace hasn't lost a regular-season decision since Aug. 18. "It was a full team effort today. I just tried to go deep into the game," Kennedy said. "I'm just really happy the offense put runs on the board really early. It's been tough in the clubhouse. It's no joke, losing five games at home." For the third straight game, Michael Bourn led off the first inning with a hit. After Bourn crushed a 2-2 fastball off the center-field wall for a double, Freddie Freeman drove him in with a sacrifice fly two batters later to give the Braves a 1-0 lead. "With Bourn, I feel like you can throw him anything and he'll slap the ball into the outfield," Kennedy said. "Having him in the leadoff spot, it's hard." The first five D-backs hitters went down quietly against Braves starter Randall Delgado, but with two outs in the second, Arizona mounted a rally to score as many runs in the inning as it did the previous three games combined. Jason Kubel got things started with a single up the middle -- the ball buzzing between Delgado's legs -- then Cody Ransom doubled in his first at-bat of the season to put runners on second and third. Ransom was called up from Triple-A Reno on Wednesday but didn't see action until Sunday because of a kidney stone that still hasn't passed. "It is what it is, and you deal with it," Ransom said. "It's what I'm here for, to do whatever they ask." Delgado intentionally walked John McDonald, after missing with the first two pitches, to load the bases and bring up Kennedy. Delgado, however, couldn't regain his control, even with the opposing pitcher in the box, and walked in the D-backs' first run of the game on four straight balls. "I was trying to be too perfect with the strike zone, and that was a big mistake," Delgado said. "But what can you do? I did it. I can't do that again." The next batter, Parra, took a first-pitch ball before hitting a 91-mph fastball into the pool pavilion for the first grand slam of his career, putting the D-backs ahead, 5-1. The Braves got a run back in the third and in the bottom of the inning Prado took a home run away from Miguel Montero with a leaping catch over the left-field wall. Two innings later, the Braves cut the led to 5-3 with Freeman's second RBI of the night and ninth of the series on a single to center, scoring Delgado, who had singled with one out. Justin Upton, who returned to the lineup on Saturday after missing four games with a left thumb bone bruise, was hit by a pitch in the left hand in the bottom of the fifth, but stayed in the game. The D-backs chased Delgado from the game in the sixth with two straight one-out walks, but they couldn't do any damage against Chad Durbin. In the bottom of the seventh, Aaron Hill doubled home Parra after a one out single to give the D-backs more breathing room. David Hernandez and J.J. Putz closed the door on the Braves to snap the D-backs' longest home losing streak since they lost five in a row July 22-Aug. 2, 2010. "It makes you smile for sure. It's been a while since we shook hands after the game," manager Kirk Gibson said. "You hope this helps guys relax." The Braves outhit the D-backs 10-7 but didn't capitalize on their opportunities as much. "It's not so much how many hits you get, it's when you get them," Gibson said. "We've been working on that a lot."