In Chinese history, the alchemical practice of concocting elixirs of immortality from metallic and mineral substances began circa the 4th century BCE in the late Warring states period, reached a peak in the 9th century CE Tang dynasty when five emperors died, and, despite common knowledge of the dangers, elixir poisoning continued until the 18th century Qing dynasty.