The Giants are one of the most successful teams in Major League Baseball history, having won more games than any other team and having the second highest winning percentage. In New York, the Giants enjoyed 55 winning seasons, with only 3 losing seasons between 1903 and 1939, a stretch which included two runs of 10 or more straight winning seasons (1903-14 and 1916-1925). In San Francisco the Giants have had 39 winning seasons, including their first fourteen in the city. Their eight World Series titles are tied for fourth-most in baseball, while their 23 pennants are the second most in the National League, and second-most overall. Their first title came in 1905 against the Philadelphia Athletics, where they won the series 4–1. They claimed four consecutive National League pennants between 1921 and 1924, going on to beat cross-town team the New York Yankees in the World Series on two of those occasions. Their fourth title came in 1933 as they beat the Washington Senators in five games. The 1951 season saw the Giants beat their rivals the Brooklyn Dodgers in a three-game playoff for the National League pennant. The Giants won the series 2–1 on a walk-off home run by Bobby Thomson in game 3, a moment remembered as the Shot Heard 'Round the World. They went on to lose in the World Series to the Yankees. A 4–0 series sweep of the Cleveland Indians in the 1954 World Series earned the Giants their fifth title.