Yongjia Rebellion refers to the rebellion that Xiongnu captured Luoyang and captured Huaidi in the 5th year of Yongjia in 3 1 1 AD. During the Western Jin Dynasty, the imperial court was corrupt, and the rebellion of the Eight Kings occurred from time to time. In the first year of Yongxing (304), Liu Yuan, a Xiongnu aristocrat, set out for Lishi (now Shanxi) under the title of Han (later former Zhao). In the 4th year of Yongjia (3 10), Liu Yuan died and his son Liu Cong succeeded him. In April of the following year, more than ten thousand Jin Jun 10 were annihilated in Ningping City, Guxian County (Luyi County, Henan Province), and Yan and others were captured and killed. In the same year, Liu Cong sent general Hu Yanyan to attack Luoyang, repeatedly defeated 8 Jin J, and annihilated more than 30,000 people before and after.
This chaos lasted for 16 years, and the war started in Ye Jun County of Henan Province in the east and went to Chang 'an in the west. The scope is not limited to the central government, resulting in the loss of lives and thieves. Get up, "Book of Jin" said: Since losing government, it is difficult to build a small wall (civil strife), and the flesh and blood eat each other, Li Yuan painted charcoal. Melting ice took over the ancestral temple, and the branch was responsible for its disaster. Rong Jie took advantage of the gap and mourned it. Although the Central Plains was rectified in the early Jin Dynasty after Cao Wei, it was not completely rebuilt. In this incident, people died and starved to death for more than one million. The destruction of the two capitals greatly reduced the national strength of the rulers, so the conference semifinals took advantage of it.
In June, Hu Yanyan arrived in Luoyang. Liu Yao and others led the troops to meet them, attacked Luoyang, connived at the looting of his men, captured Emperor Huai alive, killed more than 30,000 people including Prince Sima Quan, imperial clan, officials, soldiers and civilians, and dug graves to burn the palace, which is known as the "Yongjia Rebellion" in history.