Kris Bryant's RBI single in the eighth inning lifted the Chicago Cubs to a 6-5 victory over the Pittsburgh Pirates on Sunday.
Pinch-hitter Matt Szczur doubled to left field with one out against Pirates reliever Tony Watson (1-3). Bryant, who had three hits and reached base four times, followed with his tiebreaking hit to put the Cubs back ahead.
Chicago avoided a series sweep ended its five game losing streak. Pittsburgh lost for just the second time in 11 games heading to the All-Star break.
Cubs reliever Pedro Strop (2-2) gave up Andrew McCutchen's tying sacrifice fly in the seventh, Carl Edwards pitched a hitless eight and Hector Rondon got the last three outs for his 14th save.
Chicago won't play again until Friday, when it will come out of the All-Star break to face the surging Texas Rangers, who limped into the break.