The Pirates snapped their five-game losing streak.

PITTSBURGH (AP) – Jacob Stallings hit a solo home run in the bottom of the ninth inning and the Pittsburgh Pirates slowed the Chicago Cubs’ bid to win the NL Central with a 3-2 victory.

The Cubs began the day with a 4 ½-game lead over St. Louis and Cincinnati in the division standings and a magic number of four to clinch the title.

Stallings connected with one out off Andrew Chafin to help the Pirates ended their five-game losing streak and win for the just second time in 15 games. It was Stallings’ third home run of the season.

PITTSBURGH, PA – SEPTEMBER 21: Pittsburgh Pirates third baseman Ke’Bryan Hayes (13) makes contact during the MLB baseball game between the Chicago Cubs and the Pittsburgh Pirates on September 21, 2020 at PNC Park in Pittsburgh, PA. (Photo by Mark Alberti/Icon Sportswire via Getty Images)

(Copyright 2020 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed without permission.)