PHOENIX -- Aramis Ramirez hit a two-out, two-run double to break a tie in the eighth inning and right fielder Ryan Braun had a two-run triple in a three-run ninth when the Milwaukee Brewers pulled away from the Arizona Diamondbacks 9-3 at Chase Field on Monday.

Right fielder Braun and catcher Jonathan Lucroy walked with two outs in the eighth against right-hander Will Harris (0-2) before Ramirez, the Brewers' third baseman, grounded a 3-2 pitch inside the bag at third to break a 3-3 tie.

Left fielder Khris Davis followed with a single off shortstop Chris Owings' glove to make it 6-3 and propel Wily Peralta (7-5) to his third straight victory. Davis had two hits and two RBIs.

Second baseman Scooter Gennett singled in a run and Braun followed with his triple in the ninth, all after Arizona manager Kirk Gibson was ejected for arguing a stolen base call at third base that would have ended the inning.

Gennett had his fourth home run for the National League Central-leading Brewers (42-29), who have won four of their last six.

First baseman Paul Goldschmidt had two singles to extend his hitting streak to 10 games for Arizona (30-43), which has lost five of its last six.

Center fielder David Peralta and left fielder Roger Kieschnick each had two hits and scored a run for the Diamondbacks, and right-hander Brandon McCarthy had a two-run single.

McCarthy gave up seven hits and three runs while throwing 88 pitches in seven innings. He struck out two.

Peralta gave up nine hits and three runs while striking out six.

Ramirez singled to open the second inning and scored on Davis' triple off the wall in right-center field. After first baseman Mark Reynolds walked, shortstop Jean Segura grounded into a double play as Davis scored to make it 2-0 for the Brewers.

Arizona struck back quickly. Peralta, Owings and Kieschnick singled to open the inning, with Kieschnick's hit driving in one run. McCarthy then hit a two-run single to center field for a 3-2 lead.

Gennett's leadoff homer in the third inning tied the game at 3.

As usual, Arizona fans booed Brewers Braun every time he was announced. Braun was 9-for-18 with four doubles, a home run and four RBIs when Milwaukee beat Arizona in five games in the 2011 NLDS. He reportedly failed a drug test after the first game of that series.

NOTES: Arizona RHP Bronson Arroyo (7-4) was placed on the disabled list for the first time in his 15-year career Monday because of right elbow tendinitis. Results of an MRI performed midday on Monday were unavailable at game time. Arroyo, who went five innings in a 6-3 victory over the Los Angeles Dodgers on Sunday, has made 336 consecutive starts, not missing a turn through the rotation since rejoining the Boston rotation on May 15, 2004. ... OF Roger Kieschnick was recalled from Triple-A Reno to replace Arroyo on the 25-man roster. The D-backs have not announced who will pitch on Arroyo's next turn Thursday. ... CF Carlos Gomez, who did not start Monday, has reached base in 30 straight games, the longest active streak in the majors. The streak is the eighth longest in franchise history. OF Scott Podsednik reached base in 47 straight from May 27-June 20, 2003. ... D-backs general manager Kevin Towers, who was Tony Gwynn's general manager in San Diego: "It's like losing a family. For San Diego, it's losing an icon."