SAN FRANCISCO -- Matt Cain raised his arms and waved his cap, fighting off tears amid a standing ovation as he walked off the mound for the last time Saturday.
The home crowd at AT&T Park saluted the right-hander, a cornerstone of the Giants' championship era who pitched the only perfect game in franchise history. Cain took a curtain call and exited with a 1-0 lead.
"It was definitely an emotional roller coaster as you walk out onto the field and take the bullpen mound,'' Cain said. "The first couple of innings were all adrenaline. The last three were just on the guys and the fans, the fans just willing me along."
Cain gave up two hits, struck out four and walked one. He made his last start one day before his 33rd birthday and at the close of a $127.5 million, six-year contract.
"I think we'll look back at this game as another great memory we have of Matt Cain, from the perfect game to his postseason pitching,'' Giants manager Bruce Bochy said. "A lot of those great games that he threw, I'll look at this game too, at what he did to finish up."
Beset by injuries in recent years, Cain has said he couldn't imagine pitching for another team. The three-time All-Star finished 3-11 with a 5.43 ERA this year.
Cain pitched the clinching game of the 2012 World Series and is among four current players on the team who were part of the Giants' three World Series championships in a five-year period. Madison Bumgarner, Buster Posey and Pablo Sandoval are the others.
Cain hugged Posey on the field and was greeted by Bumgarner in the dugout.
Making his 342nd start in a career that began with the Giants in 2005, Cain threw 73 pitches in his first game in September.
Cain worked 2,085⅔ innings and started the All-Star Game in his best year in 2012. He was 16-10 with a 2.79 ERA that season and placed sixth in the NL Cy Young Award voting. His perfect game came that June against Houston.
During his prime, Cain established himself among the game's top clutch performers, going 4-2 with a 2.10 ERA in eight career postseason starts. He didn't allow an earned run in 21⅓ innings in the 2010 postseason.
Cain missed the Giants' run to the 2014 title after having bone chips removed from his right elbow. Elbow, arm and hamstring injuries limited his workload and effectiveness the past four years of his career.
Padres players joined in on the ovation when Cain left the game.
"You respect an opponent, especially when he's done it with class," Padres manager Andy Green said.
Padres: RHP Carter Capps underwent surgery to address thoracic outlet syndrome earlier this week. "Everything went as it should,'' Green said. "The expectation is that he's going to be ready to go when spring training rolls around.''
Padres: RHP Luis Perdomo (8-11, 4.65 ERA) is 1-3 with a 4.43 ERA in his past four starts. He's 2-0 with a 3.55 ERA in eight career starts against the Giants.
Giants: RHP Johnny Cueto (8-8, 4.43) is 8-4 with a 3.09 ERA in 14 career starts against the Padres.
Christian Yelich cranks one to center-field for his 30th HR of the season.
Francisco Cervelli and Clint Hurdle are thrown out of the game in the 6th inning after Cervelli struck out looking.
George Springer had four hits and scored three runs to help the Houston Astros beat the Arizona Diamondbacks 10-4 Saturday night and extend their lead in the American League West.
Zach Davies failed to hold an early lead and gave up a go-ahead double to Francisco Cervelli in the fourth inning that lifted the Pittsburgh Pirates over the Milwaukee Brewers 3-1 on Saturday night.
Josh Reddick lifts a curveball out to left field to just clear the wall for his 14th home run.
Marwin Gonzalez lines a single over the head of Steven Souza Jr. in right field to plate a pair of runs.