Yang Jian saw that Yuan Hong was already trapped, so he quickly put away the precious diagram and escorted him to the camp at Xiqi. Jiang Ziya saw this and asked, " How should this demon be dealt with?" Yang Jian replied, " This demon has many transformations; ordinary weapons cannot harm him." At that moment, the Daoist Lu Ya arrived on a colorful cloud. Seeing Yuan Hong captured, he smiled and said, " This evil creature practices the Eight-Nine Mystic Arts and can change unpredictably. Prime Minister Jiang, with what object do you intend to eliminate him?" Jiang Ziya answered, " That is exactly what I am worried about." Lu Ya the Daoist then produced the "Flying Sword that Beheads Immortals" and said to Yuan Hong, " Please, precious treasure, turn." That flying sword was Lu Ya's magic weapon, seven inches long. With a single turn, it cut off Yuan Hong's head, and blood splattered three feet.
A poem says: The white ape attained the Dao but mistook the true doctrine; his transformations and divine powers were not empty words. Only because he then defied heaven's will, did he this day fall into the bonds of mortal fate. Once trapped in the Mountains-and-Rivers Diagram, in ten thousand kalpas he could not escape the fate of being slain by the immortal blade. Their names are already recorded on the Investiture Platform, leaving only regret behind in the mortal world.
Yuan Hong having been executed, Zhang Kui, the defender of Mianchi Pass, was also captured by a scheme devised by Yang Jian and beheaded as a public display. At this point, the Xiqi army breached Mianchi Pass, with their forces directly aimed at Chaoge. When King Zhou heard the news, all the civil and military officials in the court were greatly alarmed, knowing the great edifice was about to collapse, and each felt insecure. A court physician named Zhan Deng came to the throne and said: "Your Majesty, I observed the stars at night; evil aura rushes to the heavens, and I am sure there must be evil spirits causing confusion in the palace, leading the nation's fortune to such a state. Daji, Hu Ximei, and Wang Guiren are not human; they are foxes, pipa spirits, and pheasant spirits transformed."
King Zhou flew into a rage upon hearing this and wanted to execute Zhan Deng. But at that moment, Daji and the other two demons also knew the secret was revealed, and fled in haste from the deep palace, transforming into three beams of demonic light, fleeing toward the direction of Xuanyuan Tomb. Indeed: When the great edifice is about to fall, evil spirits appear; it is hard to escape the tribulation within tribulations set by fate.