The poem has been theorized as a Christianized version of the pagan Ragnarök, with figures represented in 13th century sources swapped with Christian figures; Surtr replaced by the Antichrist whom Elias – replacing Thor – fights, Loki by the old fiend.
see also