At midnight when all was quiet and Fang was overcome with drink, Pan Gu jumped onto the king's bed, bit off his head and ran back to his master with it . King Gao Xin was overjoyed to see the head of his rival, and gave orders to bring Pan Gu some fresh meat. But Pan Gu left the meat untouched and curled himself up in a corner to sleep. For three days he ate nothing and did not stir.
The king was puzzled and asked, "Why don't you eat? Is it because I failed to keep my promise of marrying a dog?" To his surprise Pan Gu began to speak. "Don't worry, my King. Just cover me with your golden bell and in seven days and seven nights I'll become a man." The King did as he said, but on the sixth day, fearing he would starve to death, out of solicitude the princess peeped under the bell. Pan Gu's body had already changed into that of a man, but his head was still that of a dog. However, once the bell was raised, the magic change stopped, and he had to remain a man with a dog's head.
He married the princess, but she didn't want to be seen with such a man so they moved to the earth and settled in the remote mountains of south China. There they lived happily and had four children, three boys and a girl, who became the ancestors of mankind.