MILWAUKEE — Blaze Alexander and Geraldo Perdomo homered, Ryne Nelson limited Milwaukee to a run in six innings and the Arizona Diamondbacks beat the major league-leading Brewers 3-2 on Wednesday night to end a three-game losing streak.

Nelson (7-3) allowed six hits and struck out three without walking a batter for his first victory since July 19. Andrew Saalfrank got the final five outs for his third save.

Arizona took a 2-1 lead in the sixth against Erick Fedde (4-13), with Perdomo singling and Alexander hitting an opposite-field shot to right. After fouling a pitch off his toe, Perdomo made it 3-1 in the eighth with a homer to right off Nick Mears.

Milwaukee's William Contreras homered off Juan Burgos in the eighth.

The Brewers got two innings out of opener Aaron Ashby before turning

See Full Page