Question: Which Old English poem consisting of 3,182 alliterative lines, has a new king named Heardred?

Context articles: Beowulf
Layamon's Brut
Heardred
Cædmon's Hymn
Daniel (Old English poem)
Stanzaic Morte Arthur
Halfdan
Alliterative verse
Hygelac
Sellic Spell

Beowulf ( ] ) is an Old English epic poem consisting of 3,182 alliterative lines.
 It may be the oldest surviving long poem in Old English and is commonly cited as one of the most important works of Old English literature.
 A 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 author was an anonymous Anglo-Saxon poet, most likely from the Kingdom of Northumbria, referred to by scholars as the ""Beowulf" poet".
Layamon's "Brut (ca. 1190 - 1215), also known as The Chronicle of Britain", is a Middle English poem compiled and recast by the English priest Layamon.
 The "Brut" is 16,095 lines long and narrates the history of Britain: it is the first historiography written in English since the "Anglo-Saxon Chronicle".
 Named for Britain's mythical founder, Brutus of Troy, the poem is largely based on the Anglo-Norman "Roman de Brut" by Wace, which is in turn a version of Geoffrey of Monmouth's Latin "Historia Regum Britanniae".
 Layamon's poem, however, is longer than both and includes an enlarged section on the life and exploits of King Arthur.
 It is written in the alliterative verse style commonly used in Middle English poetry by rhyming chroniclers, the two halves of the alliterative lines being often linked by rhyme as well as by alliteration.
Heardred (Proto-Norse *"Harðurāðaz" ), died c. 530, is the son of Hygelac, king of the Geats, and his queen Hygd, in "Beowulf".
 After Hygelac's death, in Frisia, Hygd wants to make Hygelac's nephew Beowulf, king of Geatland, as she fears that the young Heardred won't be able to defend his people.
 Beowulf, however, declares his trust in the young man and Heardred is proclaimed king.
Cædmon's "Hymn" is a short Old English poem originally composed by Cædmon, an illiterate cow-herder who was able to sing in honour of God the Creator, using words that he had never heard before.
 It was composed between 658 and 680 and is the oldest recorded Old English poem, being composed within living memory of the Christianization of Anglo-Saxon England.
 It is also one of the oldest surviving samples of Germanic alliterative verse.
Daniel is an anonymous Old English poem based loosely on the Biblical Book of Daniel, found in the Junius Manuscript.
 The author and the date of "Daniel" are unknown.
 Critics have argued that Cædmon is the author of the poem, but this theory has been since disproved.
 "Daniel", as it is preserved, is 764 lines long.
 There have been numerous arguments that there was originally more to this poem than survives today.
 The majority of scholars, however, dismiss these arguments with the evidence that the text finishes at the bottom of a page, and that there is a simple point, which translators assume indicates the end of a complete sentence.
 "Daniel" contains a plethora of lines which Old English scholars refer to as “hypermetric” or long.
 Daniel is one of the four major Old Testament prophets, along with Isaiah, Jeremiah, and Ezekiel.
 The poet even changed the meaning of the story from remaining faithful while you are being persecuted to a story dealing with pride, which is a very common theme in Old English Literature.
 The Old English, Daniel is a warning against pride and there are three warnings in the story.
 The Israelites were conquered because they lost faith in God, who delivered them from Egypt, and started worshiping idols and this is the first prideful act.
 The second and third warnings are about internal pride, shown to Nebuchadnezzar through Daniel's dream interpretations.
The Stanzaic Morte Arthur is an anonymous 14th century Middle English poem in 3,969 lines, about the adulterous affair between Lancelot and Guinevere, and Lancelot's tragic dissension with King Arthur.
 The poem is usually called the Stanzaic "Morte Arthur" or Stanzaic "Morte" (formerly also the Harleian "Morte Arthur") to distinguish it from another Middle English poem, the Alliterative "Morte Arthure".
 It exercised enough influence on Thomas Malory's "Le Morte d'Arthur" to have, in the words of one recent scholar, "played a decisive though largely unacknowledged role in the way succeeding generations have read the Arthurian legend".
Halfdan (Old Norse: "Halfdan" , Old English: "Healfdene" , Medieval , Proto-Norse: "*Halbadaniz", "half Dane") was a late 5th and early 6th century legendary Danish king of the Scylding (Skjöldung) lineage, the son of king named Fróði in many accounts, noted mainly as the father to the two kings who succeeded him in the rule of Denmark, kings named Hroðgar and Halga in the Old English poem "Beowulf" and named Hróar and Helgi in Old Norse accounts.
In prosody, alliterative verse is a form of verse that uses alliteration as the principal ornamental device to help indicate the underlying metrical structure, as opposed to other devices such as rhyme.
 The most commonly studied traditions of alliterative verse are those found in the oldest literature of the Germanic languages, where scholars use the term 'alliterative poetry' rather broadly to indicate a tradition which not only shares alliteration as its primary ornament but also certain metrical characteristics.
 The Old English epic "Beowulf", as well as most other Old English poetry, the Old High German "Muspilli", the Old Saxon "Heliand", the Old Norse "Poetic Edda", and many Middle English poems such as "Piers Plowman", "Sir Gawain and the Green Knight", and the "Alliterative Morte Arthur" all use alliterative verse.
Hygelac (Old English: "Hygelāc" ; Old Norse: "Hugleikr" ; Proto-Germanic: "*Hugilaikaz" ; Latin: "Ch(l)ochilaicus" ; died 521) was a king of the Geats according to the poem "Beowulf".
 It is Hygelac's presence in the poem which has allowed scholars to tentatively date the setting of the poem as well as to infer that it contains at least some points of historical fact.
 "Beowulf" gives Hygelac's genealogy: according to the poem, he was the son of Hrethel and had two brothers Herebeald and Hæþcyn, as well as an unnamed sister who was married to Ecgtheow and mother of the hero Beowulf.
 Hygelac was married to Hygd, and they had a son Heardred and an unnamed daughter who married Eofor.
 When Hygelac's brother Hæþcyn was fighting with the Swedes, Hygelac arrived at Hrefnesholt one day too late to save his brother Hæþcyn, but he managed to rescue the surviving Geatish warriors, who were besieged by the Swedish king Ongentheow and his three sons.
 The Swedes found refuge at a hill fort but were assaulted by the Geats.
 In the battle, the Swedish king was slain by Eofor.
 After the death of his brother Herebeald, Hygelac ascended the Geatish throne.
 After he was killed during a raid on Frisia, Hygelac was succeeded by Heardred, according to "Beowulf".
Sellic Spell (] , an Old English phrase meaning "wondrous tale" and taken from the poem "Beowulf") is a short prose text available in Modern and Old English redactions, written by J.R.R. Tolkien in a creative attempt to reconstruct the folktale underlying the narrative in the first two thousand lines of the Old English poem "Beowulf".
 Among other things, it seeks to clarify and integrate a number of narrative strands in the Anglo-Saxon poem.
 The resulting text is a loose variant of the "Skilful Companions" type of folktale, in which each of several characters (two or three in Tolkien's text, depending on the redaction) has a valuable but specific skill.
 Unlike in folktales of that type, however, the skills of Tolkien's characters do not supplement each other in the resolution of the narrative problem.
 Tolkien's recasting of the material also incorporates the sluggish youth motif and the abandonment of the hero at the waterfall, both elements found in the analogous Old Icelandic "Grettis saga".
 The suggestion that a waterfall like that of "Grettis saga" was part of the original setting of the pool of monsters in "Beowulf" was made by W.W. Lawrence in 1912.