In addition to the five World Series played between the Yankees and Giants before 1940, the two teams also played exhibition series against each other from time to time.
Before New York's two National League teams left the city, the Yankees and Dodgers played an annual midseason exhibition game called the Mayor's Trophy Game to benefit sandlot baseball in New York City.