This world, from ancient times to the present, has experienced several calamities: the opening of chaos, the struggle for Daoist orthodoxy, the dragon and phoenix catastrophe, the witch monster conflicts, the chaotic era of Xue Zu, the rise of the human race, and so on, in the conflicts over immortals and monsters.
In these successive struggles, many powerful races have been obliterated in the river of history, gradually forming a pattern where the Daoist Ancestor remained detached from the world, the Immortal Emperor governed the Three Realms, emperors managed the Mortal Realm, the Underworld Emperor controlled the netherworld, and the Demon Emperor oversaw all monsters.
The Heavenly Court was established by the Immortal Emperor with support from the Daoist Ancestor during the conflict between immortals and monsters, and it has existed for millions of years.