安帝
Late that year, Liu Yu, intending to seize the throne and believing a prophecy stating, "There will be two more emperors after Changming" ("Changming", which meant "dawn," was the courtesy name of Emperor Xiaowu), became intent on killing Emperor An and replacing him with Sima Dewen. However, because Sima Dewen continuously attended to his brother, assassins whom Liu Yu sent to poison Emperor An did not have the opportunity to do so. However, around the new year 419, Sima Dewen was ill and had to be at his own house, and Liu Yu's assassin Wang Shaozhi () took the opportunity to kill Emperor An. Liu Yu then declared Sima Dewen emperor, as Emperor Gong.