“America the Beautiful” a hymn tune composed by Samuel A. Ward was generally considered the best music as early as 1910 and remains a popular tune today. Just as Bates had been inspired to write her poem, Ward, too was inspired to compose his tune. The tune came to him while he was on a ferryboat trip from Coney Island back to his home in New York City, after a leisurely summer day in 1882, and he immediately wrote it down. He was so anxious to capture the tune in his head that he asked fellow passenger and friend Harry Martin for his shirt cuff to write the tune on. He composed the tune for the old hymn "O Mother Dear, Jerusalem", renaming the work "Materna". Ward's music combined with Bates' poem were first published together in 1910 and titled, America the Beautiful.
It was first published in the Parish Choir, a religious music periodical. From there, it was published in several hymnals. In 1904, Charles A. Barbour, a Baptist preacher, determined that it was the inspired hymn tune he was seeking for, to put Katharine A. Bates poem "America, the Beautiful" to music.
Samuel Ward was born on December 28, 1848, in Newark, New Jersey. He started playing the accordion when he was six years old, and by the age of sixteen, he was an organist at a church in New York City. Later, he owned a music store, played the organ at Grace Episcopal Church in Newark, NJ and composed music.
Ward died in 1903, not knowing the national stature his music would attain, as the music was only first applied to the song in 1904.