PITTSBURGH (AP) -- Orlando Arcia hit his second homer of the game, a two-run drive in the 13th inning that sent the Milwaukee Brewers over the Pittsburgh Pirates 12-10 on Saturday night.
Both teams blew late leads before Arcia connected with two outs off Alex McRae (0-1) for his first multi-homer game in the majors. Hours earlier, Arcia hit a two-run homer in the second.
Starling Marte had four hits for Pittsburgh, including a three-run homer off Josh Hader in the eighth for a 10-8 lead. It was Hader's first blown save in 14 chances this season.
Keston Hiura hit a tying, two-run homer with one out in the Milwaukee ninth off Felipe Vazquez.
Christian Yelich ended a 1-for-14 slump over his last six games in a big way. He hit his major league-leading 22nd homer, tripled and drove in four runs for Milwaukee.
Mike Moustakas hit his third home run in as many games for the Brewers -- his 16th of the year plunged into the Allegheny River. But he left in the ninth inning after suffering a right hand bruise from being hit by a pitch.
Pinch-hitter Jose Osuna homered for the Pirates while Elias Diaz got three hits and drove in four runs.
Milwaukee's lineup capitalized on struggling Nick Kingham, who lasted just three innings and gave up five runs on six hits with two home runs.
Down 5-0, the Pirates scored four times in the third. Melky Cabrera started with an RBI single and Diaz hit a three-run double.
Diaz hit an RBI single to make it 5-all in the fifth and two batters later, Osuna's third pinch-hit homer of his career gave Pittsburgh a 7-5 lead.
Milwaukee starting pitcher Brandon Woodruff was charged with six runs over four innings, allowing a season-high 10 hits with two walks and five strikeouts.
Brewers: LHP Gio Gonzalez (2-1, 3.19) was placed on the 10-day injured list with what manager Craig Counsell labeled "a dead arm." Gonzalez was scheduled to pitch the series finale on Sunday. In a corresponding move, C Manny Pina was activated from the IL.
Pirates: Pittsburgh's Director of Sports Medicine, Tom Tomczyk, elaborated on the nature of RHP Keone Kela's right shoulder discomfort that will shut him down for 10 days. "It's general wear and tear from a thrower's shoulder," Tomczyk said before the game. "There are changes within the structures that are causing him tightness, causing him discomfort that he just doesn't feel as if he can let it go and be Keone right now."
Brewers: RHP Zach Davies (5-0, 2.19) will start on Sunday in place of Gonzalez. Milwaukee is 7-4 in 11 games Davies has pitched this season.
Pirates: RHP Jordan Lyles (5-2, 3.09) will make his 11th start of the season Sunday despite exiting his last outing after four innings with left hamstring discomfort. Lyles will face his former team having won four of his last five decisions.