The Milwaukee Brewers just keep on rolling at the expense of the Colorado Rockies.

Ryan Braun's two-out single to center in the ninth inning lifted the Brewers to an exciting 3-2 victory Friday night at Miller Park, their fifth in as many games against the Rockies.

The walk-off victory was the Brewers' fourth this season. The walk-off hit was the sixth of Braun's career but his first since 2011.

It took closer Francisco Rodriguez off the hook after he gave up the lead with one out in the top of the ninth but more important made the Brewers the first team to reach 50 victories in the major leagues this season.

"It's a cool number," Braun said. "It's definitely a step in the right direction. It's nice to be the first one to 50 wins, for sure. There's still a lot of baseball left, a long ways to go.

"We're excited with the way that we've played so far, but there's still a lot of baseball left."

The rally began with a leadoff single to left by Mark Reynolds, who was bunted up to second by Jean Segura. Scooter Gennett came on to pinch-hit but was walked intentionally by Matt Belisle.

With Rickie Weeks at the plate, both runners advanced on a passed ball by Michael McKenry.

Weeks eventually struck out, but Braun — who in the seventh was hit by a pitch with the bases loaded to drive in the go-ahead run — singled to center on the first pitch he saw from Belisle to cap the dramatic victory.

In years past, Braun most likely would have been walked as well to load the bases. But with him struggling at the plate the past few weeks and with Jonathan Lucroy tearing the cover off the baseball, Colorado manager Walt Weiss elected to have Belisle go after Braun.

Braun wasted no time, ripping a 90 mph fastball right past Belisle and into center to score Reynolds, sparking a joyous celebration on the infield and among the crowd of 34,132.

"I saw where he was setting up off the plate, so I don't think they were trying to throw it where he ended up throwing it," he said. "But as a hitter, you always have to be aggressive. I don't think you ever want to get into a defensive mode in that situation and think that they're not going to pitch to you.

"So you have to be prepared and ready to hit."

Rodriguez improved to 3-2 after blowing his third save. Starter Kyle Lohse failed to become the third pitcher in the National League with 10 victories despite a solid seven-inning outing in which he allowed seven hits, one run and two walks to go along with four strikeouts.

"These guys can hit," said manager Ron Roenicke. "This is the first time we've really stopped their offense. Regardless of them getting people on base, he did a great job and made great pitches when he needed to."

With the score tied, 1-1, the Brewers took advantage of yet another free run presented to them by the Rockies in the seventh — a theme that began with the teams' crazy series over the weekend at Coors Field.

Khris Davis led off with a double to left-center against reliever Nick Masset that just missed going out, and Reynolds followed with a walk. Segura bunted them into scoring position before pinch-hitter Martin Maldonado struck out against Rex Brothers.