PITTSBURGH (AP) Chris Stewart had three hits and three RBIs, and Charlie Morton pitched six strong innings as the Pittsburgh Pirates beat the Brewers 6-3 on Friday night, ending their seven-game losing streak against Milwaukee.

Stewart hit a two-run single that capped a three-run fourth inning that put the Pirates ahead for good 3-2. The backup catcher, starting for resting Francisco Cervelli, added an RBI single in the sixth.

Stewart tied his career high with his third three-hit game of the season and the fifth of his nine-year career.

More from FoxSports

Morton (9-7) snapped a three-start losing streak, allowing two runs and three hits while walking two and striking out two.

Mark Melancon struck out two in a perfect ninth for his 45th save in 47 chances.

Jimmy Nelson (11-12) lost for the just the second time in six decisions against the Pirates this season.