PITTSBURGH — Orlando Arcia came to the major leagues with great expectations and he showed why Saturday night.

The struggling rookie shortstop had three hits, including a tiebreaking single in Milwaukee’s four-run eighth inning, and the Brewers beat Pittsburgh 7-4 to extend the Pirates’ losing streak to five games.

Arcia grounded a bases-loaded single into right field against Felipe Rivero, lifting the Brewers to a 3-2 lead. Pinch-hitter Manny Pina followed with a two-run single and Keon Broxton capped the big inning with an RBI single as Milwaukee won its third straight following a six-game losing streak.

“He did a great job of getting a big hit, especially when he fell behind 0-2 against a guy with a great arm,” Brewers manager Craig Counsell said. “He made some nice plays in the field, too. The last two weeks, you’re starting to see every ball he gets his glove on, he makes the play.”

Pittsburgh’s Neftali Feliz (4-2) was charged with two runs, retiring only one of three batters before leaving with right arm discomfort.

Arcia, considered the Brewers’ top prospect entering the season, raised his batting average to .206 in 29 games since making his major league debut Aug. 1.

“I have been up here for a little bit more than a month, so it’s time for everything to come together,” Arcia said. “I feel a lot more relaxed and am playing the way I know I can play.”

Milwaukee slugger Chris Carter had four hits, including a two-run drive off Ivan Nova in the sixth inning for his 31st homer. He had gone hitless in 10 at-bats in his previous three games.

Broxton, a rookie who was acquired from the Pirates in an offseason trade, also had three hits and swiped two bases. He has been successful on 21 of 22 steal attempts.

“I’m starting to learn the keys to being able to steal bases at this level and it’s amazing that I’ve been able to help the team win with my baserunning” Broxton said.

The Pirates rallied for two runs in the eighth inning to cut the deficit to 6-4. Starling Marte hit a 434-foot home run to the batter’s eye in center field off Corey Knebel and pinch-hitter John Jaso added an RBI single.

But Blaine Boyer got Josh Harrison to hit into an inning-ending double play and Carter added an RBI single in the ninth. Tyler Thornburg got three outs for his eighth save.

The Pirates remained 2 1/2 games behind St. Louis for the second NL wild card. The Cardinals lost 9-1 at Cincinnati.

The Pirates left nine runners on base and went 1 for 9 with runners in scoring position.

“We have to find ways to score runs,” Pirates manager Clint Hurdle said. “We’re getting opportunities to score runs. We need to find a way to have that at-bat we need, pass the baton. The pitcher is the one in trouble. Get that good at-bat, hit the ball hard where it’s pitched, keep it simple and go on.”

Carlos Torres (3-3) got the win despite allowing Andrew McCutchen’s 19th homer in the seventh inning, tying it at 2.

Marte had three hits and Harrison added two.

Brewers starter Jimmy Nelson allowed only one run in 5 1/3 innings despite six walks. He gave up four hits and struck out four.

Nova surrendered two runs and five hits in six innings with six strikeouts and one walk.

TRAINER’S ROOM

Brewers: RHP Michael Blazek was activated from the 15-day disabled list after being out since Aug. 14 with a strained forearm. … 3B Jonathan Villar missed the game with a sore left knee after he got hurt Friday night when Harrison slid into him in a play at third base.

Pirates: RHP Gerrit Cole (elbow inflammation) threw 30 fastballs before the game, the first time he had worked off a mound since going on the DL on Aug. 25 with elbow inflammation.

LONG TIME COMING

Pirates left-hander Kelvin Marte made his major league debut after spending 10 years in the minor leagues and struck out 2011 NL MVP Ryan Braun to end the eighth inning, though he also walked a batter and gave up Broxton’s RBI single. The Pirates selected the 28-year-old’s contract from Triple-A Indianapolis on Tuesday.

UP NEXT

Brewers: RHP Chase Anderson (7-11, 4.92 ERA) is scheduled to start Sunday in the finale of the three-game series. The Pirates beat him last Sunday at Milwaukee, handing Anderson his first loss in eight starts since July 9.

Pirates: LHP Steven Brault (0-1, 3.86 ERA) will make his fourth career start.