A separate tradition, preserved in the poem Rigsthula, casts Heimdall in a quite different role: wandering the world of men under the name Rig, he visits three households in turn, poor, prosperous and noble, and fathers in each a son who becomes the ancestor of a social class, so that thrall, farmer and lord all descend from him. The poem thus makes Heimdall the origin of the ordered ranks of human society. At Ragnarok his story reaches its appointed end: he and Loki, long opposed, meet in the last battle and kill one another. Between the watchman with the horn, the god born of nine mothers, and the wandering Rig who fathers the estates of mankind, Heimdall gathers several strands that the surviving sources do not fully reconcile, and he remains one of the more enigmatic of the major Norse gods.
Comparative mythologists have long grouped Heimdall with other Indo-European guardian figures who stand watch at the threshold between the human and divine worlds, a role that, unlike most other Norse gods, gives him almost no independent adventures of his own outside his function as sentinel; nearly everything told about him circles back to watching, warning or, in the Rigsthula, founding the social order that the gods themselves oversee from a distance. This narrow but structurally central role has led some scholars to read Heimdall less as a fully developed personality, in the way Thor or Odin are, than as a personification of vigilance and boundary itself, given just enough myth to explain his indispensable place at the edge of Asgard.