Jack Suwinski hit his third homer of the game in the ninth inning, giving the Pirates a 4-3, walk-off victory over the Giants on Sunday to avoid a three-game sweep.

The rookie drove a slider from sidearming Tyler Rogers (0-3) to right for his second game-ending home run of the season after connecting for one June 4 against the Diamondbacks. 

Suwinski became the first rookie in major league history to have a three-homer game that included a walk-off home run, according to the Elias Sports Bureau. He also became the first Pirates player with multiple walk-off home runs in a single month since Wally Westlake in September of 1947, according to ESPN Stats & Information research.