Ralph Vaughan Williams wrote his Symphony No. 5 in D major between 1938 and 1943. In style it represents a shift away from the violent dissonance of his Fourth Symphony, and a return to the gentler style of the earlier Pastoral Symphony.
Many of the musical themes in the Fifth Symphony stem from Vaughan Williams's then-unfinished operatic work, The Pilgrim's Progress. This opera, or "morality" as Vaughan Williams preferred to call it, had been in gestation for decades, and the composer had temporarily abandoned it at the time the symphony was conceived. Despite its origins, the symphony is without programmatic content.
The work was an immediate success at its premiere in 1943, and is frequently performed in concert and on record.