Question: when was the star spangled banner written in what war
Answer: The Star - Spangled Banner The earliest surviving sheet music of `` The Star - Spangled Banner '' , from 1814 .