Pak Tai, also known as Yuen Tin Sheung Tai (玄天上帝, lit. "Dark" or "Mysterious Supreme Emperor of Heaven"), is said to have been a prince[which?] of the Shang Dynasty. During the fall of the Shang, the Demon King[which?] ravaged the world. The Taoist god Yuen Chi Tin Chuen (元始天尊) ordered the Jade Emperor to appoint Pak Tai as the commander of twelve heavenly legions to fight this evil. Pak Tai defeated the Demon King and was subsequently granted the title of Yuen Tin Sheung Tai. In Pak Tai temples, the bronze tortoise and serpent under the feet of Pak Tai's image signifies that the good always prevails over evil.