Emperor Wenchang is a god who is respected by the people and Taoism and is in charge of the fame and fortune of scholars. Wenchang star, formerly known as Wenquxing or Satellite, was regarded as the star who presided over the literary movement in ancient times. Wenchang Emperor, who became a folk and Taoist belief, was related to Zitong God Zhang Yazi.
In the second year of the Eastern Jin Dynasty, yu zhang, a native of Shu, claimed to be the King of Shu, rebelled against Fu Jian of the former Qin Dynasty and died heroically. People built the yu zhang Temple for him in Qiqu Mountain in Zitong County, honorably calling him Razer Dragon God. At that time, there was a Zitong Shenyazi Temple in Qiqu Mountain. Because the two temples are adjacent, later generations collectively referred to the names of the two temples as Zhang Yazi, and said that Zhang Yazi was an official in the Jin Dynasty and died. This is actually about Zhang Yuzhi in the Book of Jin.