Question: when was the last time the giants won the world series
Answer: Those three championships have come in 2010 , 2012 , and most recently in 2014 , having defeated the Kansas City Royals four games to three during the 2014 World Series .