Famous literary figures of the Tang and Sung dynasties, such as Chang Chiu-ling, Han Yu, Tu Mu and Li Shang-ying, all wrote works about worshipping Cheng Huang, testifying to the wide spread of the cult.
唐宋時，著名文人如張九齡、韓愈、杜牧、李商隱都寫過「祭城隍神文」，可知城隍奉祀之普遍。