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

Suwinski is the first rookie to cap a three-homer game with a game-ending shot, according to the Elias Sports Bureau.

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

''I was just like, `No way, man. No way that's going,''' Suwinski said. ''That guy is hard to hit off of. Coming from that low under there, it's not an easy at bat.''

Pirates manager Derek Shelton spoke with Suwinski in the bottom of the eighth, asking if he was ready to go deep a third time. Shelton said he was told, ''No.''

''I was not trying to think about that,'' Suwinski said. ''You start trying to do too much and then you just blow it or whatever. I was just trying to not think about that and just focus on what the pitcher had.''

Suwinski is the second Pirates rookie to hit three homers in a game, joining Andrew McCutchen (Aug. 1, 2009). Josh Bell was the last player to hit three in a game for Pittsburgh on July 1, 2019.

The 23-year-old Suwinski took a sinker from starter Alex Cobb deep for a solo shot in the fourth before doing the same to Sam Long for a 3-2 lead in the sixth. He has 11 home runs in 47 games this season, tied with Bryan Reynolds for the team lead.

Thairo Estrada homered off Pittsburgh closer David Bednar leading off the top of the ninth, tying the game at 3. Bednar (3-1) was working his second inning of relief and struck out two of the final three batters to end the ninth.

Mitch Keller gave up two runs (one earned) on three hits with four strikeouts in six innings for the Pirates, extending his streak of starts with fewer than three runs allowed to four. He has surrendered eight earned runs in 28 1/3 innings (2.54 ERA) in his last six games (four starts).

''It's definitely nice, but tomorrow you have to flush it like nothing happened,'' Keller said. ''You have to keep going. That's my mentality. ... Just keep a good routine and keep going.''

Cobb allowed two runs on four hits in four innings during his return from the 15-day injured list with a neck strain.

''I think he was solid after a long layoff,'' Giants manager Gabe Kapler said. ''First and foremost, he came out healthy. I know he's not going to be happy not coming out of the game with a lead, but got through exactly what our pitch count was for him.''

After an error and two walks loaded the bases for San Francisco with no outs in the first, Joc Pederson dribbled a two-run single past Hoy Park at second base.

Park went yard on a sinker from Cobb to right-center field in the third, cutting it to 2-1 with his first home run of the season before Suwinski's first homer an inning later.

''Sometimes you just have to tip your cap,'' Cobb said. ''It was a bad pitch (to Suwinski). But it's his day. Sometimes the story is about one guy. It was an impressive game by him.''

THIRD TIME'S THE CHARM

Suwinski is the eighth player since 2000 to hit three home runs in a game, including a walk-off. He joins Brendan Rodgers (June 1, 2022), Eddie Rosario (June 3, 2018), Manny Machado (Aug. 18, 2017), Khris Davis (May 17, 2016), Joey Votto (May 13, 2012), Albert Pujols (April 16, 2006) and Todd Hollandsworth (April 15, 2001).

ROSTER MOVES

Giants: RHP Mauricio Llovera was optioned to Triple-A Sacramento.

Pirates: SS Oneil Cruz and OF Bligh Madris will be called up from Triple-A Indianapolis on Monday, Shelton confirmed.

TRAINER'S ROOM

Pirates: INF Josh VanMeter and INF Yoshi Tsutsugo could each begin rehab assignments this week, general manager Ben Cherington said. VanMeter has been out since June 1 because of a fractured left ring finger. Tsutsugo has not played since May 24 with an undisclosed injury.

UP NEXT

Giants: RHP Logan Webb (6-2, 3.43 ERA) is set to start Monday to begin a four-game series in Atlanta. Webb allowed five hits in seven shutout innings during a 4-2 win against the Kansas City Royals on June 14 in his previous start.

Pirates: RHP JT Brubaker (0-7, 4.50) will take the mound when Pittsburgh begins a four-game set against the Cubs on Monday. Brubaker's last win came Aug. 24, 2021.

---

More AP MLB: https://apnews.com/hub/MLB and https://twitter.com/AP-Sports

Copyright 2024 STATS LLC and Associated Press. Any commercial use or distribution without the express written consent of STATS LLC and Associated Press is strictly prohibited.