Hervarar saga ok Heiðreks is a legendary saga from the 13th century combining matter from several older sagas. It is a valuable saga for several different reasons beside its literary qualities. It contains traditions of wars between Goths and Huns, from the 4th century, and the last part is used as a source for Swedish medieval history. Moreover, it was an important source of inspiration for Tolkien when shaping his legends of Middle-earth. However, the saga may be most appreciated for its memorable imagery, or to quote Kershaw on the invasion of the Horde:[who?]
The matter on the Gothic wars with the Huns is of considerable age, and is based on events from the early or mid-4th century that were transmitted for almost 1000 years.