Emperor Xiao Yan of Liang Dynasty was angered by the war god Moxi who protected the daughter of the demon king and broke the hero's soul monument, so he ordered the abolition of Shinto sacrifices. The gods' power declined due to the discontinuation of incense and fire, and they repeatedly brought disasters in revenge. Xiao Yan led his people to resist. He used the power of faith to resurrect the national master Qiu Shan and make him a god. He also named many human heroes as new gods and started a war with the old gods. The old gods colluded with the demons but suffered backlash. In the end, Xiao Yan's side won and peace was restored to the world. A hundred years later, Xiao Yan also became a god and took charge of the heaven.