For the Yankees, Kate Smith’s version of “God Bless America” was a staple of the seventh-inning stretch since 2001.

For the Philadelphia Flyers, the connection was even tighter, with Smith serving as a mascot of sorts for the team’s 1970s Stanley Cup winners, and performing live at games.

Now both teams have announced they will stop playing Smith’s version of “God Bless America” after discovering that she sang songs with racist lyrics in the 1930s. The Flyers will also cover a statue of Smith that has been in front of their arena since 1987.

Smith, who died in 1986, is most closely identified with “God Bless America,” but she recorded numerous other songs over her long career. Among them were “Pickaninny Heaven” and “That’s Why Darkies Were Born,” which contain disturbing lyrics that demean black people.