<Tr> <Th> Occupation </Th> <Td> Composer </Td> </Tr> <Tr> <Th> Known for </Th> <Td> Composed "The Anacreontic Song", later adopted as the tune of the national anthem of the United States </Td> </Tr> <P> John Stafford Smith (30 March 1750--21 September 1836) was a British composer, church organist, and early musicologist . He was one of the first serious collectors of manuscripts of works by Johann Sebastian Bach . </P> <P> Stafford Smith is best known for writing the music for "The Anacreontic Song", which became the tune for the American patriotic song "The Star - Spangled Banner" following the War of 1812, and in 1931 was adopted as the national anthem of the United States . </P>

Who composed the music to the star spangled banner