Who wrote the star spangled banner during the war of 1812?

Francis Key Scott