Beowulf (/ˈbeɪəwʊlf/; Old English: Bēowulf [ˈbeːowulf]) is an Old English epic poem consisting of 3,182 alliterative lines. It is one of the most important works of Old English literature. The date of composition is a matter of contention among scholars; the only certain dating pertains to the manuscript, which was produced between 975 and 1025. The anonymous poet is referred to by scholars as the "Beowulf poet".
The story is set in Scandinavia in the 6th century. Beowulf, a hero of the Geats, comes to the aid of Hrothgar, the king of the Danes, whose mead hall in Heorot has been under attack by a monster known as Grendel. After Beowulf slays him, Grendel's mother attacks the hall and is then also defeated. Victorious, Beowulf goes home to Geatland (Götaland in modern Sweden) and becomes king of the Geats. Fifty years later, Beowulf defeats a dragon, but is mortally wounded in the battle. After his death, his attendants cremate his body and erect a tower on a headland in his memory.
The poem survives in a single copy in the manuscript known as the Nowell Codex. It has no title in the original manuscript, but has become known by the name of the story's protagonist. In 1731, the manuscript was damaged by a fire that swept through Ashburnham House in London that had a collection of medieval manuscripts assembled by Sir Robert Bruce Cotton; the margins were charred, and a number of readings were lost. The Nowell Codex is housed in the British Library.