Nagong and Namo loved each other, but when their love was interrupted, the two threw themselves into a river. Later, children who were keeping their cattle in the field collected the couple's skulls at the bank of the river, enshrined them in a stone cave, hanging them on bamboo sticks, and danced around there singing, "If you keep our cattle from grazing crops we will attend you".
As they danced and sang like this, the cattle stopped grazing crops. As this became known to the village people, they immediately deified Nagong and Namo, believing that they would expel diseases, prevent disasters, and block evil powers.
Later when the daughter of the emperor got seriously ill and recovered from the sickness, they offered a sacrifice to Nagong and Namo. At last, the emperor granted Nagong and Namo a place in front of the court shrine.