Liu Yilong is the third son of Emperor Wu of the Song Dynasty, with a small name of Che'er. He was granted the title of King of Yidu and came out of Jingzhou. In 424, Xu Xianzhi and others killed the Young Emperor and welcomed him to Jiankang to ascend the throne at the age of eighteen. After two years of forbearance, he executed Xu Xianzhi and Fu Liang in 426, personally conquered and defeated Xie Hui, who had raised troops in Jingzhou, and regained power. After that, he appointed Wang Hong, Wang Hua, Yin Jingren and others to work diligently on government affairs.
During his nearly 30 years in power, he cleaned up household registration, encouraged farmers to teach farming, exempted and exempted rents, and established the four schools of Confucianism, metaphysics, history, and literature. The society was relatively stable, and the economy and culture were prosperous. It is known as the "Yuanjia Rule" in history. "Three Kingdoms" annotated by Pei Songzhi, "Book of the Later Han Dynasty" compiled by Fan Ye, "Shi Shuo Xin Yu" compiled by Liu Yiqing, and "Yuan Jiali" compiled by He Chengtian all come from this period.
However, he was suspicious of the hero and killed the famous general Tan Daoji. He also had mutual suspicion with his younger brother Prince of Pengcheng Liu Yikang. The two Northern Expeditions to the Northern Wei in 430 and 450 failed. In 450, Emperor Taiwu of the Northern Wei counterattacked and invaded the Yangtze River. The Yangtze and Huaihe Rivers were damaged and the national power was greatly damaged. In 453, Crown Prince Liu Shao committed patricide and became independent due to a witchcraft incident. Emperor Wen was forty-seven years old.
Emperor Wen of the Song Dynasty was diligent in political affairs. During his nearly 30 years in office, the political situation was stable. He rectified household registration, encouraged farmers to teach, and established schools. During the Yuan and Jia years, Jiangnan's economy and academic culture flourished, and he made great achievements in history, literature, and calendars. This was a rare governance in the Southern Dynasties. However, he had a jealous nature, killed the hero's family, and destroyed the Great Wall himself. During the Northern Expedition, he commanded remotely and improperly hired people, which resulted in repeated misfortunes, which turned Liu Song's national power from prosperity to decline, and eventually he died at the hands of the Crown Prince.