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.

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.

"The Star-Spangled Banner" is the national anthem of the United States of America. The lyrics come from "Defence of Fort M'Henry", a poem written on September 14, 1814, by the 35-year-old lawyer and amateur poet Francis Scott Key after witnessing the bombardment of Fort McHenry by British ships of the Royal Navy in Baltimore Harbor during the Battle of Baltimore in the War of 1812. Key was inspired by the large American flag, the Star-Spangled Banner, flying triumphantly above the fort during the American victory.

More Info: en.wikipedia.org