Ragnar's story is preserved in medieval texts such as The Saga of Ragnar Lothbrok [13] and Saxo Grammaticus's Gesta Danorum. [55] These works helped to shape and form the myth and the legends of the Viking hero and inspired later historical and literary traditions.