The words to "The Battle Hymn of the Republic" were written by Julia Ward Howe in 1861. Inspired by the Civil War and the ideals of justice and equality, Howe's lyrics were set to a tune that was originally a folk song. The hymn became a rallying cry for Union soldiers and remains a significant anthem in American history.