Star Spangled Banners and Baseball Games

Which came first: Singing Francis Scott Key’s “oh say can you see” song at baseball games, or the adoptin of said song as the National Anthem?

Answer at the link; it makes for a nice little chicken-egg conundrum.