Liu Boqin escorted Tang Sanzang to the foot of the Five Elements Mountain, bid him farewell, and departed. Tang Sanzang ascended the mountain alone, when he suddenly heard a voice from below the mountain shouting, 'My master has come! My master has come!' Following the sound, Tang Sanzang looked and saw, pressed inside a stone casket, a monk with a hairy face and a thunder-god mouth. This monk was none other than Sun Wukong, the Great Sage Equal to Heaven, who had caused great havoc in Heaven five hundred years ago, and was being punished beneath this mountain by Tathagata Buddha for violating the laws of heaven. As soon as he saw Tang Sanzang, he wept and said, 'Disciple was once the Great Sage Equal to Heaven five hundred years ago, but because I caused great havoc in Heaven, the Buddha pressed me beneath this mountain. Now, guided by the Bodhisattva Guanyin, I have been instructed to wait here for the pilgrim seeking scriptures, and I wish to convert to the Buddha's teachings and follow you, Master, to the Western Heaven to obtain the scriptures.'
Hearing this, Tang Sanzang was overjoyed, and following Sun Wukong's instructions, he removed the golden-character charm from the mountaintop. In a flash, there was a great roar as the Five Elements Mountain split apart, and Sun Wukong leaped out and bowed to Tang Sanzang as his master. Tang Sanzang gave him the Dharma name 'Xingzhe' (Pilgrim). The master and disciple continued westward, and soon encountered six robbers who blocked the road and demanded their belongings. In a fit of rage, Sun Wukong wielded his As-You-Will Gold-Banded Cudgel and killed all six robbers. Tang Sanzang was displeased and scolded Wukong for taking life too heavily, but Wukong spoke with self-assurance, causing a rift between master and disciple. Guanyin Bodhisattva, knowing of this matter, secretly taught Tang Sanzang a golden circlet and a spell called the 'Tightening-Crown Spell,' instructing him to place it on Wukong's head to control his unruly temperament.
Tang Sanzang did as instructed and placed the golden circlet on Sun Wukong's head, reciting the spell; Wukong felt his head splitting with pain and realized the power of the spell, henceforth not daring to lightly defy his master. The master and disciple continued their journey, and one day arrived at a place called the Eagle-Sorrow Gorge on Coiled Snake Mountain. The waters of the gorge were clear and the scenery pleasant, but unexpectedly, the white horse Tang Sanzang was riding stumbled and fell into the gorge, where it was devoured by a dragon lurking deep in the water. Enraged at the loss of his white horse, Sun Wukong leaped into the water to fight the dragon, but the dragon was elusive and unpredictable, and for a time Wukong could do nothing against it.