Question: who wrote the melody for the star spangled banner
Answer: The poem was set to the tune of a popular British song written by John Stafford Smith for the Anacreontic Society , a men 's social club in London .