The San Francisco Giants are a Major League Baseball (MLB) team based in San Francisco, California, which currently plays in the National League West Division. They are the current World Series champions. As one of the older baseball teams, the Giants have won the most games of any team in the history of American baseball, and any North American professional sports team. They have won 21 National League pennants and appeared in 18 World Series championships, both tied with rivals Los Angeles Dodgers for most in the league. The Giants have been invited to the World Series an NL record 19 times, but boycotted the event in 1904.