After the loss of Chang'an in 316, Sima Rui (Emperor Yuan of Jin) fled south and reestablished the Jin Dynasty at Nanjing (then called Jiankang). This marks the start of the Eastern Jin period.