Liu Yu, also known as Deyu, also known as Jinu, was born in Pengcheng and grew up in Jingkou (now Zhenjiang, Jiangsu Province). He came from a poor family and once made a living by selling straw sandals. He joined the Beifu army and made many military exploits in suppressing the Sun En uprising in 399. In 403, Huan Xuan usurped the Jin Dynasty and proclaimed himself emperor. The following year, Liu Yu, Liu Yi, He Wuji and others raised troops in Jingkou, attacked Jiankang, defeated Huan Xuan, ushered in the restoration of Jin Emperor An, and took control of the Eastern Jin Dynasty from then on.
After that, he made a northern expedition to destroy Southern Yan, returned to defeat Lu Xun, and successively eliminated Liu Yi and other dissidents, sent troops to pacify Western Shu, promoted Yixi's territorial destruction, and suppressed the powerful. Beginning in 416, he personally led his army to the northern expedition to the Later Qin Dynasty and regained Luoyang and Chang'an. However, after returning south, Guanzhong was immediately captured by Hu Xia. In 418, he ordered people to hang Emperor An of Jin and renamed him Emperor Gong. In 420, he proclaimed himself emperor by accession following abdication. The country was named Song and the capital was Jiankang.
After proclaiming himself emperor, he continued to relax taxes and rectify the administration of officials. He lived a simple life and did not like the ornaments of pearls, jade, horses and horses. He also deposed the Emperor Gong of Jin Dynasty as King Lingling, and sent people to kill him the following year. He reigned for only two years and died of illness in 422 at the age of sixty. He ordered Xu Xianzhi, Fu Liang, Xie Hui, and Tan Daoji to assist Crown Prince Liu Yifu.
Liu Yu rose from humble beginnings in the military, put down the rebellions of Huan Xuan, Sun En, and Lu Xun, destroyed Nan Yan and Later Qin in the north, and recovered the two capitals. He was the most accomplished military commander in the Eastern Jin and Southern Dynasties. He promoted local rule and suppressed powerful forces, which reversed the dictatorship of the Eastern Jin clan and laid the foundation for the rule of Yuanjia. However, he was eager to usurp the throne, which resulted in gains and losses in Guanzhong. He also set a bad example of killing the previous monarchs after the Zen dynasty. His reign was too short, and the conflicts among his disciples after his death soon affected Liu and Song Dynasty.