ATLANTA (AP) - Wade Miley earned his first win since early May, Paul Goldschmidt hit a two-run homer and the Arizona Diamondbacks beat Atlanta 3-1 on Sunday to end the Braves' nine-game winning streak.
Miley (4-6) allowed one run on five hits and one walk in 6 2-3 innings. He struck out eight. The left-hander was 0-3 in his previous nine starts and had not won since beating the White Sox on May 10. The win snapped his streak of five straight no-decisions.
Atlanta starter Alex Wood (6-7) allowed two runs on only three hits and three walks in seven innings. Wood's big mistake was Goldschmidt's homer off the foul pole in left field in the third inning.
B.J. Upton was 0 for 4 with three strikeouts to end his career-best 11-game hitting streak for NL East-leading Atlanta.
Before the game, the Diamondbacks traded right-hander Brandon McCarthy and cash to the Yankees for left-hander Vidal Nuno.
Pinch-hitter Nick Evans' run-scoring double off Luis Avilan in the ninth pushed Arizona's lead to two. Evans drove in Martin Prado, who singled off Anthony Varvaro and stole second base.
Addison Reed gave up a leadoff single to Tommy La Stella in the ninth before striking out Christian Bethancourt. Reed wrapped up his 20th save when Ryan Doumit hit into a double play.
Arizona right-hander Brad Ziegler gave up a leadoff single to Andrelton Simmons in the eighth. With one out, Ziegler walked Justin Upton, and the runners advanced on Jason Heyward's groundout. Ziegler struck out Chris Johnson to end the inning.
Walks hurt both starting pitchers.
Wood issued a walk to Miley to open the third inning. With two outs, Goldschmidt's 16th homer gave the Diamondbacks a 2-0 lead. Goldschmidt, who had an infield single in the first, had two of Arizona's three hits off Wood.
Miley walked Justin Upton to open the fourth. He scored from second on Johnson's single up the middle.
Miley didn't allow another hit until Bethancourt singled with two outs in the seventh. Evan Marshall got the final out of the inning after walking pinch-hitter Dan Uggla.
NOTES: Braves C Evan Gattis, on the 15-day DL with a bulging thoracic disk, said an epidural early in the week helped ''a little bit'' but his back remains ''just a little tight right now.'' He said he began stretching exercises on Saturday. ... The Braves open a four-game series at the Mets on Monday night with LHP Mike Minor facing RHP Daisuke Matsuzaka. Arizona RHP Chase Anderson will start when the Diamondbacks open a home series against Miami. ... Atlanta's last loss was June 26 at Houston.