<Table> The Star - Spangled Banner <Tr> <Td_colspan="2"> The earliest surviving sheet music of "The Star - Spangled Banner", from 1814 . </Td> </Tr> <Tr> <Td_colspan="2"> National anthem of the United States </Td> </Tr> <Tr> <Th> Lyrics </Th> <Td> Francis Scott Key, 1814 </Td> </Tr> <Tr> <Th> Music </Th> <Td> John Stafford Smith, c. 1773 </Td> </Tr> <Tr> <Th> Adopted </Th> <Td> March 4, 1931; 86 years ago (1931 - 03 - 04) </Td> </Tr> <Tr> <Td_colspan="2"> </Td> </Tr> <Tr> <Th_colspan="2"> Audio sample </Th> </Tr> <Tr> <Td_colspan="2"> "The Star - Spangled Banner" instrumental <Ul> <Li> file </Li> <Li> help </Li> </Ul> </Td> </Tr> <Tr> <Td_colspan="2"> </Td> </Tr> <Tr> <Td_colspan="2"> <Ul> <Li> </Li> <Li> </Li> <Li> </Li> </Ul> </Td> </Tr> </Table> <Tr> <Td_colspan="2"> The earliest surviving sheet music of "The Star - Spangled Banner", from 1814 . </Td> </Tr>

Who was the star spangled banner written by