 For the water, earth, and heaven officials, Celestial Masters wrote the 三官手書 sanguan shoushu.After the fall of Luoyang to non-Chinese invaders in 311, the remnants of the court fled to Jiankang (modern-day Nanjing) and established a new state known as the Eastern Jin dynasty.Among the court members who fled were members of the Celestial Masters.