An Lushan, leader of a revolt against the Tang dynasty and emperor of Yan, is murdered by his own son, An Qingxu.

The An Lushan Rebellion was an uprising against the Tang dynasty of China towards the mid-point of the dynasty (from 755 to 763), with an attempt to replace it with the Yan dynasty. The rebellion was originally led by An Lushan, a general officer of the Tang military system. The event involved military activity and direct deaths from battle, but also significant associated population loss from famine, and population dislocations. The event is also known, especially in Chinese historiography, either as the AnShi Rebellion or as the AnShi Disturbances (simplified Chinese: ; traditional Chinese: ; pinyin: n Sh zh lun). The use of the term lun (chaos) indicates the extreme social instability and population loss which eventually resulted, far beyond the initial consequences of the rebellion.

Traditionally, Chinese family names have begun with the family name first. In this case the family name of the initial rebel leader is An. The term n-Sh is used to recognize that the rebellion continued after An Lushan's death, with the leadership then transitioning to the Shi family, although at first An Lushan's son An Qingxu claimed succession. However, Shi Siming, who had been close to An Lushan, became successor, and then Shi's son Shi Chaoyi. The Tianbao Rebellion () began in the 14th year of the latter's era. The rebellion's overt phase began on 16 December 755, when An Lushan mobilized his army and marched to Fanyang, and ended when his Yan dynasty fell on 17 February 763 (although the effects lasted past this). The rebellion spanned the reigns of three Tang emperors against the rival Yan dynasty before it was finally quashed. Besides the Tang dynasty loyalists, others involved were anti-Tang forces, especially those in An Lushan's base area in Hebei and Sogdian forces or influences, among others. The rebellion and subsequent disorder resulted in a major loss of life and large-scale destruction. It significantly weakened the Tang dynasty and led to the loss of the Western Regions. The Tang dynasty hired 4,000 mercenaries from Abbasid territories, and the Uyghur Khaganate intervened for the Tang dynasty against An Lushan.

The Uyghur Khaganate exchanged princesses in marriage with Tang dynasty China in 756 to seal the alliance against An Lushan. The Uyghur Khagan Bayanchur Khan had his daughter Uyghur Princess Pijia () married to Tang dynasty Chinese Prince Li Chengcai (), Prince of Dunhuang (), son of Li Shouli, Prince of Bin, while the Tang dynasty Chinese princess Ninguo married Uyghur Khagan Bayanchur.

An Lushan or An Lu-shan (20th day of the 1st month 19 February 703 – 29 January 757) was a general in the Tang dynasty and is primarily known for instigating the An Lushan Rebellion.

An Lushan was of Sogdian and Göktürk origin, at least by adoption. He rose to military prominence by defending the northeastern Tang frontier from the Khitans and other threats. He was summoned to Chang'an, the Tang capital, several times and managed to gain favor with Chancellor Li Linfu and Emperor Xuanzong of Tang. This allowed An Lushan to amass significant military power in northeast China. After the death of Li Linfu, his rivalry with General Geshu Han and Chancellor Yang Guozhong created military tensions within the empire.

In 755, An Lushan, following 8 or 9 years of preparation, instigated the An Lushan Rebellion, proclaiming himself the ruler of a new dynasty, Yan.