SAN DIEGO — With two home runs already in hand, Pablo Sandoval came up swinging for the fences in his final at-bat Wednesday.
"I was looking for my pitch," Sandoval said.
Sandoval jumped on a 2-1 fastball from San Diego reliever Dale Thayer and drove it into the seats in left for his third home run of the game, leading the Giants to a 13-5 romp over the Padres at Petco Park.
Sandoval, who went 4-for-5 with six RBIs, hit three home runs for the second time in his career. He also accomplished the feat in Game 1 of the 2012 World Series in a win over the Detroit Tigers.
Teammate Brandon Crawford, who also homered, provided extra incentive for Sandoval, who had hit only one long ball since the All-Star break and three in the past 80 games.
"He got me fired up a little bit," said Sandoval, who has 13 homers this season. "When he hit his home run, he asked me, 'How many home runs do I got?' I said 10. He said, 'I got nine.' I said, 'OK, we'll see what's going on right now.'"
Hunter Pence and Hector Sanchez also went deep as the Giants (62-77) avoided a three-game sweep and left San Diego tied with the Padres (62-77) for fourth place in the National League West.
Sandoval hit a two-run homer in the fifth inning off Padres reliever Brad Brach, then a solo shot in the eighth off Brad Boxberger and a three-run blast in the ninth off Thayer.
"I think we're all asking where's that been," Giants manager Bruce Bochy said. "He came out swinging. That's a huge day."