Tim Lincecum allowed just three hits over eight innings to help the Giants take the trophy home to San Francisco for the first time.

It was an overdue victory — the Giants last wore the crown in 1954, four years before they moved west. So much for a franchise that never quite got it done in October despite the likes of baseball giants Willie Mays, Barry Bonds and Juan Marichal. It’s November, and now new names stand tall in San Francisco.

Lincecum outdueled Cliff Lee in an every-pitch-matters matchup that was scoreless until Renteria hit a stunning three-run homer with two outs in the seventh inning. Nelson Cruz homered in the bottom half, but Lincecum preserved the lead.

Lincecum beat Lee for the second time in a week. The two-time National League Cy Young pitching award winner struck out 10 batters.

Brian Wilson closed for a save, completing a surprising romp through the postseason for a pitching-rich team that waited until the final day to clinch a playoff spot.

Manager Bruce Bochy enjoys calling his Giants a ragtag bunch. Maybe Cody Ross, Aubrey Huff and Freddy Sanchez fit that description. But the foundation of this club — for now, for the foreseeable future — is totally home grown, built on a deep, talented and young rotation, a rookie catcher with huge star potential and their bearded closer.

Renteria reprised his role of postseason star. His 11th-inning single ended Game 7 of the 1997 World Series and lifted Florida over Cleveland.

Ross, the suprising most valuable player of the NL championship series, stayed square and hit a leadoff single, and Juan Uribe followed with another hit up the middle.

That put a runner at second base for the first time in the game and brought up Huff — who led the Giants in home runs this year — who expertly put down the first sacrifice bunt of his career.

Lee struck out Pat Burrell to keep the runners put, but Ross began hopping home as soon as Renteria connected, sending a drive that kept sailing and landed over the left-center field wall.

And just like that, all the Giants’ past troubles seemed like ancient history.

The Giants won their previous title when they played in New York at the Polo Grounds in 1954 before moving west four years later.

In the Year of the Pitcher, the World Series proved the oldest adage in the game: Good pitching stops good hitting, every time. Lincecum and the team with the best ERA in the big leagues completely shut down Josh Hamilton and the club with the majors’ top batting average.

Back on regular rest, Lee and Lincecum were sharper than ever.

Lee was in command from the start, mixing his fastball, curve, cutter and changeup at will. Lincecum looked even more wicked, causing Hamilton to take such an awkward swing that his bat whirly-birded 20 rows into the stands.

Neither team got a runner past first base through the six innings.

Lee got Andres Torres to swing way over a breaking ball for strike three to begin the game, then made Sanchez take a wild hack before shattering his bat. The left hander retired Ross on a popup to end the inning and exchanged fist bumps with manager Ron Washington.

Ross took another crazy swing in the Giants fourth. And when Uribe later lofted a two-out fly ball, Lee didn’t even bother to watch it being caught. He was already trotting toward the dugout.

Lee was in trouble for only an instant before the seventh.

Sanchez hit a two-out single in the sixth, his sinking liner glancing off the glove of a diving Cruz in right field. Buster Posey followed with a deep drive that Cruz caught a step before bumping into the padded wall, prompting the rookie Giants catcher to pop his batting helmet with both hands.

Texas became the latest Series newcomer to make a quick exit. Houston (2005) and Colorado (2007) got swept in their first appearances, Tampa Bay (2008) stuck around for just five games. The American League champion Rangers became the first team since 1966 to get shut out twice in a World Series, with big hitters Josh Hamilton, Vladimir Guerrero and Cruz left taking half-swings or flailing wildly.

The Giants earned their sixth title overall, joining the likes of Christy Mathewson, Mel Ott and John McGraw as champs, and equaling them for third with the Red Sox by the Yankees (27) and Cardinals (10). They also helped ease the gloating that blew from across the Bay, where the Oakland Athletics won three straight crowns in the mid-1970s and swept the Giants in the earthquake-interrupted 1989 Series.

San Francisco had come close before. Future Hall of Famers Willie McCovey, Orlando Cepeda, Mays and Marichal lost to the Yankees 1-0 in Game 7 in 1962. In 2002, Bonds & Co. led the Angels 5-0 in the seventh inning of Game 6 before letting that edge and Game 7 slip away.