Beowulf ruled the Geats for 50 years, until his realm was terrorized by a fire-breathing dragon after a thief stole a golden cup from its hoard of treasure. After unsuccessfully attacking the dragon with his "thegns", Beowulf decided to pursue the monster into its lair at Earnanæs, but only his young Swedish relative Wiglaf dared join him. Beowulf's sword broke; but he dealt the dragon its death-blow with his dagger. He had been mortally wounded by the dragon's poisonous bite. Dying, he was carried out by Wiglaf, and with his last breaths named Wiglaf his rightful heir. His body was burned on a funeral pyre, and his ashes buried in a barrow by the sea.