No song held official national‑anthem status before 1931. However, these were widely used as de facto anthems:
Congress formally designated “The Star‑Spangled Banner” as the national anthem in 1931.