A praise to the liberty and freedom offered in America. Throw in a brief description of the geography, a bit of praise for God, and a hint of ancestor worship, add the tune of "God Save the King," and you get America's other anthem
According to Spaeth (_A History of Popular Music in America_, p. 69), S. F. Smith discovered the tune of "Heil Dir in Siegerkranz" in a book lent to him by Lowell Mason, and dashed off his words not knowing that "God Save the King" was to the same tune. Mason would direct the first public performance.
Smith would late write, "If I had anticipated the future of it, doubtless I would have taken more pains with it." - RBW