The Qi Dynasty (479-502) was the second dynasty in the Southern Dynasties in China, and the shortest one among the Four Dynasties in the Southern Dynasties. It lasted only 23 years and was founded by Xiao Daocheng. The title of Daqi was later changed to Jianyuan, which originated from the theory of divination and was called Xiao Qi or Nanqi in history. The Prophecy Book says: "The golden knife is sharp and the blade is cut together", which means that "Qi" will replace "Song".
Xiao Daocheng, the founding emperor of the Southern Qi Dynasty, was the general of Liu Song, and was the general of the right army during the reign of Emperor Song Ming. After Song Taizu's death, he and Yuan charm, the official minister, jointly managed the state affairs. In 474 AD, Xiao Daocheng put down the rebellion of Liu Xiufan, the king of Guiyang, and served as the secretariat of Jiangzhou, the official to Zhongzhou, and General Ren Lingjun, mastering the Guards and supervising the military affairs of Wuzhou. At this time, the internal disputes of Liu Song regime were fierce, and Xiao Daocheng gradually seized power.
In 477 AD, Xiao Daocheng killed Emperor Liu Yu and made his younger brother Liu Zhun succeed him. Xiao Daocheng was crowned King of Qi. After that, the loyal Yuan charm, Shen Youzhi and others were eliminated. In 479 AD, Song Dynasty, Song Dynasty and Song Dynasty were forced to meditate and perish, and Nanqi was established.
In 502 AD, Qi and Emperor Wu of the Han Dynasty were forced to meditate in Liang Wang. Xiao Yan proclaimed himself Liang Wudi, and Nanqi perished, enjoying the country for 23 years.
Nanliang (502-560), the third dynasty of the Southern Dynasties in the history of China, was replaced by Xiao Yan, the imperial clan of the Southern Qi Dynasty, and Jiankang (now Nanjing) was its capital. The national name Liang, in the county, has a fief, hence the name Liang. Because the royal family name is Xiao, also known as Xiao.
In the late Liang Dynasty, the national government was corrupt and the Hou Jing Rebellion broke out. The social economy of the Southern Dynasties was greatly damaged by the war. Later, the royal family of Nanliang recruited the Northern Qi Dynasty and the Western Wei Dynasty to help them compete for the throne, so that they seized a large area of land in the Southern Dynasties, greatly weakening the strength of the Southern Dynasties and laying a strong situation in the South.
In the second year of Taiping (557), the emperor was abolished and became independent, with the title of Chen, and the Chen Dynasty was established with Chen Dailiang. In addition, Xiao Yan's grandson Cha Xiao established Xiliang in Jiangling, spread it to san huang, and died in the Sui Dynasty. In the 13th year of the Great Cause at the end of Sui Dynasty (6 17), Xiaoxian rebuilt Liang Xiao in the south of the Yangtze River for five years, which was destroyed by the Tang Dynasty.