In ancient times, humans, gods, and demons lived together, and the three kingdoms of Shennong, Xuanyuan, and Gaoxin stood together. Jiuyao (Xiaoyao) has gone through a hundred years of suffering, losing not only her identity but also her appearance. She settles down in Qingshui Town, becoming Wen Xiaoliu.
A young Bao Zheng heads to the capital for the civil service examinations. He encounters several mysteries, thus beginning a legendary tale as he works with Gongsun Ce and Zhan Zhao to crack the case.