After the Qin conquered the six states, Zhang Liang of the fallen Han state harbored a deep hatred for the destruction of his homeland. By chance, he met an old man in yellow who taught him supernatural arts. Once he had mastered them, Zhang Liang lured Xiang Yu into obtaining one of the Nine Tripod Cauldrons. Drawing on the cauldron's power, Xiang Yu gained the strength of ten thousand men and swept away the Qin army at the Battle of Julu, bringing down the Qin dynasty.
But just before the realm was pacified, Zhang Liang secretly ordered soldiers at Gaixia to chant an evil incantation. Strange energy seeped into Xiang Yu's mind, turning him completely demonic. He killed Yu Ji with his own hands, abandoned his army, and eventually died alone, trapped at the Wu River.
One of the Nine Tripod Cauldrons was destroyed, and strange beasts overran the land. Later, Liu Bang was surrounded by demons at Mount Baideng and nearly lost his life.
Witnessing the chaos and demonic disasters his actions had brought upon the world, Zhang Liang was consumed by remorse and voluntarily surrendered his title. Knowing Zhang Liang's abilities, Liu Bang granted him permission to establish an official residence and govern affairs there, naming it the Celestial Masters' Residence. He ordered the Zhang clan, generation after generation, to exterminate strange beasts and protect the people.