The history of the Tai migrations into Laos were preserved in myth and legends. The Nithan Khun Borom or "Story of Khun Borom" recalls the origin myths of the Lao, and follows the exploits of his seven sons to found the Tai kingdoms of Southeast Asia. The myths also recorded the laws of Khun Borom, which set the basis of common law and identity among the Lao. Among the Khamu the exploits of their folk hero Thao Hung are recounted in the Thao Hung Thao Cheuang epic, which dramatizes the struggles of the indigenous peoples with the influx of Tai during the migration period. In later centuries the Lao themselves would preserve the legend in written form, becoming one of the great literary treasures of Laos and one of the few depictions of life in Southeast Asia prior to Therevada Buddhism and Tai cultural influence.