The Pittsburgh Pirates ended their 22 game losing streak in Milwaukee Tuesday night, defeating the Milwaukee Brewers 7-3.
The win was the Pirates first in Milwaukee since May 2007 and the win also snapped a seven game losing streak, where the Pirates were outscored 72-12.
The Pirates got a quality start from pitcher Jeff Karstens who made his season debut after posting a 7.31 ERA in Triple-A Indianapolis.

Karstens went 6 2/3 innings, walked four and struck out four, putting the Pirates in position to win.
Karstens is a lock to start Sunday afternoon and remain in the rotation for at least one more start.
Tied 2-2 in the bottom of the 8th inning, Brewers 1st baseman Prince Fielder hit a solo homer to deep center off of lefty reliever Javier Lopez to give the Brewers a 3-2 lead.
Just three outs away from their losing streak reaching 8, the Pirates showed some character erupting in the ninth inning for a five run inning.
Shortstop Ronny Cedeno led things off, hitting a solo homer off of Trevor Hoffman, tying the game at 3-3.
The Pirates would go on to add four more runs.
After Andrew McCutchen struck out, Andy LaRoche singled for the fourth time and Lastings Milledge doubled.
The Brewers decided to walk Garrett Jones intentionally to load the bases and pitch to struggling catcher Ryan Doumit.
Doumit came through in the clutch, driving a 2-0 pitch into the second tier of the bleachers to give the Pirates a commanding 7-3 lead.
Brandon Donnelly (2-0) earned the win for Pittsburgh.
Jeff Clement hit a solo homerun for the Pirates in the 4th inning, his third home run of the season.
Third baseman Andy LaRoche has been on a tear of late, going 4-for-5 in the game and bumping his batting average up to .400. LaRoche has suddenly become a good fit in the No. 2 spot and is on a 12-for-18 run.
Andrew McCutchen (1-for-5, .280) batted leadoff as manager John Russell has moved second baseman Aki Iwamura to the No. 7 spot in the batting order.
Paul Maholm (1-2, 4.74) will take the mound for the Pirates tomorrow afternoon as the Pirates will look to take 2 of 3 from the Brewers.