 The teams began their rivalry as the New York Giants and Brooklyn Dodgers, respectively, before both franchises moved west for the 1958 season.The Giants have won six National League pennants and three World Series championships since relocating to San Francisco.Those three championships came in 2010, 2012, and most recently in 2014, when they defeated the Kansas City Royals four games to three.