The Investiture of the Gods, also known by its Chinese names () and is a 16th-century Chinese novel and one of the major vernacular Chinese works in the gods and demons (shenmo) genre written during the Ming dynasty (1368–1644). Consisting of 100 chapters, it was first published in book form between 1567 and 1619. Another source claims it was published in 1605. The work combines elements of history, folklore, mythology, legends and fantasy. The story is set in the era of the decline of the Shang dynasty (1600–1046 BC) and the rise of the Zhou dynasty (1046–256 BC). It intertwines numerous elements of Chinese mythology, including deities, immortals and spirits. The authorship is attributed to Xu Zhonglin. Plot The novel is a romanticised retelling of the overthrow of King Zhou, the last ruler of the Shang dynasty, by Ji Fa, who would establish the Zhou dynasty in its place. The story integrates oral and written tales of many Chinese mythological figures who are involved in the struggle as well. These figures include human heroes, immortals, and various spirits (usually represented in avatar form, such as vixens and pheasants, and occasionally as inanimate objects such as a pipa). Bewitched by his concubine Daji, who is actually a vixen spirit disguised as a beautiful woman, King Zhou of Shang oppresses his people and persecutes those who oppose him, including those who dare to speak up to him. Ji Fa (King Wu of Zhou), assisted by his strategist Jiang Ziya, rallies an army to overthrow the tyrant and restore peace and order. Throughout the story, battles are waged between the kingdoms of Shang and Zhou, with both sides calling upon various supernatural beings – deities, immortals, demons, spirits, and humans with magical abilities – to aid them in the war. Yuanshi Tianzun ("Primeval Lord of Heaven") bestows upon Jiang Ziya the Fengshen Bang, a list that empowers him to invest the gods of Heaven. The heroes of Zhou and some of their fallen enemies from Shang are eventually endowed with heavenly ranking and essentially elevated as gods, hence the title of the novel. Some anecdotes The novel features many stories in which various supernatural beings enter the human realm and change the fates of mortals and the course of history with their magical powers. The following are some of the better-known of its component anecdotes. Nüwa and King Zhou King Zhou visits the