Pittsburgh Pirates rookie outfielder Jack Suwinski made history in Sunday’s win against the San Francisco Giants.

Suwinski hit a walk-off home run off Giants reliever Tyler Rogers to give the Pirates a 4-3 victory after losing 11 out of their last 12 games. This was Suwinski's second game-ending home run of the season, but that is not where he entered baseball history.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

Jack Suwinski hits a solo home run

Pittsburgh Pirates' Jack Suwinski hits a walk-off solo home run off San Francisco Giants relief pitcher Tyler Rogers during the ninth inning of a baseball game in Pittsburgh, Sunday, June 19, 2022. It was Suwinski's third solo home run of the game.  (AP Photo/Gene J. Puskar)

The young slugger had three home runs in the win over the Giants. He became the first rookie to hit three home runs and end the game with a walk-off, according to the Elias Sports Bureau.

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

ANGELS' MICHAEL LORENZEN TAKES ISSUE WITH SLICKNESS OF BASEBALLS: 'THEY DID GET SOMEONE HURT'

Jack Suwinski throws his helmet

Jack Suwinski #65 of the Pittsburgh Pirates reacts as he rounds the bases after hitting a walk off solo home run to give the Pirates a 4-3 win over the San Francisco Giants during the game at PNC Park on June 19, 2022 in Pittsburgh, Pennsylvania. (Justin Berl/Getty Images)

Pirates manager Derek Shelton said he asked Suwinski if the outfielder was ready for a third home run and Shelton said he was told "no."

"I was not trying to think about that," the 23-year-old 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."

Jack Suwinski celebrates with Pirates teammates

Pittsburgh Pirates' Jack Suwinski, center, is swarmed by teammates after hitting a walk-off solo home run off San Francisco Giants relief pitcher Tyler Rogers during the ninth inning of a baseball game in Pittsburgh, Sunday, June 19, 2022. It was Suwinski's third solo home run of the game. (AP Photo/Gene J. Puskar)

CLICK HERE TO GET THE FOX NEWS APP

Suwinski is the second Pirates rookie to hit three home runs in a game. The last was Andrew McCutchen in August 2009. Josh Bell was the last Pirates player to hit three dingers in a game for Pirates. He did it in July 2019.

The Associated Press contributed to this report.