PITTSBURGH (KDKA/AP) — The Pirates ended their 19th consecutive losing season with a loss to the Milwaukee Brewers, 7-3.

Jeff Locke (0-3, 6.48 ERA) pitched four innings and gave up five runs, five hits and struck out three.

Milwaukee’s Zack Grienke (16-6) held the Pirates to five hits and two runs over six innings.

Carlos Gomez, Corey Hart and Jonathan Lucroy homered for the Brewers, who set a franchise record with 96 wins and open an NL division series at Miller Park beginning Saturday.

Neil Walker led the team with two hits. Jason Jaramillo had an RBI in the fourth.

Gomez answered it in the bottom of the inning with a three-run shot with two outs that put Milwaukee ahead 5-1.

Nyjer Morgan waved his arms frantically in jest to cool down Gomez in the dugout with Prince Fielder and Rickie Weeks chuckling at their teammate’s big moment.

Jerry Hairston added an RBI single in the fifth and Hart had a sacrifice fly in the sixth for Milwaukee.

Fielder, who will be a free agent after the season, received a standing ovation when he was removed before the start of the ninth and answered the curtain call with a wide smile and a tip of his cap.

More From CBS Pittsburgh

Get The All New CBS Local App
KDKA Weather App

Watch & Listen LIVE