Liu Boqin escorted Tang Sanzang to the foot of the Wuxing Mountain, bid farewell and left. Tang Sanzang was climbing the mountain alone when he suddenly heard a human voice from under the mountain, shouting: 'My master is coming! My master is coming!' Tang Sanzang looked towards the sound and saw a monkey-faced, thunder-beaked monk pressed under a stone box. This monk was none other than Sun Wukong, the Great Sage Equal to Heaven who had caused a great uproar in Heaven five hundred years ago. Because he had violated the laws of heaven, he was pressed under this mountain by the Tathagata Buddha to suffer. As soon as he saw Tang Sanzang, he wept and said: 'Five hundred years ago, your disciple was the Great Sage Equal to Heaven. Only because I caused a great uproar in Heaven was I pressed under this mountain by the Buddha. Now, by the guidance of Guanyin Bodhisattva, I have been instructed to wait here for the pilgrim who will fetch the scriptures. I wish to convert to the Buddhist faith and follow my master to the Western Heaven to retrieve the scriptures.'
Hearing this, Tang Sanzang was overjoyed. As Sun Wukong had instructed, he removed the golden talisman charm from the top of the mountain. In a flash, a deafening roar was heard. The Wuxing Mountain split apart, and Sun Wukong leaped out and bowed to Tang Sanzang as his master. Tang Sanzang gave him the Dharma name 'Xingzhe.' The two masters and disciples continued westward. Before long, they encountered six robbers blocking the road and demanding their possessions. In a fit of rage, Sun Wukong brought out his Ruyi Jingu Bang and killed all six robbers. Seeing this, Tang Sanzang was displeased and rebuked Wukong for taking life so wantonly. Wukong, however, defended himself vociferously, causing a rift to form between master and disciple. Guanyin Bodhisattva, aware of this matter, secretly taught Tang Sanzang a golden headband and a 'Headband-Tightening Spell,' instructing him to place the headband on Wukong's head as a means to curb his unruly temperament.
As instructed, Tang Sanzang placed the golden headband on Sun Wukong's head and recited the spell. Wukong immediately felt an unbearable splitting headache and realized the power of this spell. From then on, he dared not easily defy his master. The two masters and disciples continued their journey. One day, they arrived at a place called the Yingchou Stream of Snake Coil Mountain. The stream water was clear and the scenery pleasant. Unexpectedly, the white horse ridden by Tang Sanzang suddenly lost its footing, fell into the stream, and was devoured by a dragon hiding deep in the water. Seeing the white horse eaten, Sun Wukong was furious. He leaped into the water to fight the dragon. However, the dragon appeared and disappeared mysteriously, and Sun Wukong could not prevail for the time being.