The San Francisco Giants rode workhorse left-hander Madison Bumgarner all the way to their third World Series crown in five years with a Game Seven victory over the Kansas City Royals.

Ace starter Bumgarner worked his magic as a reliever this time, coming out of the bullpen to throw five shutout innings and earn the save in a 3-2 win that clinched the best-of-seven Fall Classic.

It was the eighth World Series title for the Giants and third in five seasons after victories in 2010 and 2012.

Michael Morse drove in a pair of runs and Bumgarner, named Most Valuable Player of the World Series, dazzled the Royals once again despite returning to the mound on two days rest after throwing a 117-pitch shutout against them on Sunday.

"I was just thinking about getting outs until I couldn't get them anymore," said the 25-year-old. "Fortunately I was able to get some quick innings and I was able to stay in there."

A raucous Kauffman Stadium and history were on the Royals' side ahead of the game, as home teams had won the last nine World Series that went to a Game Seven, including the 1985 Royals.

But the visiting Giants, who were hammered 10-0 Tuesday's Game Six, bounced back to become the first road team to win a World Series Game Seven since the 1979 Pittsburgh Pirates.

World Series last five winners:

2014 - San Francisco Giants 4, Kansas City Royals 3

2013 - Boston Red Sox 4, St. Louis Cardinals 2

2012 - San Francisco Giants 4, Detroit Tigers 0

2011 - St. Louis Cardinals 4, Texas Rangers 3

2010 - San Francisco Giants 4, Texas Rangers 1

Source: Reuters