An Lushan (Chinese: 安祿山; pinyin: Ān Lùshān; 20th day of the 1st month (19 February) 703 – 29 January 757) was a Chinese military general and rebel leader during the Tang dynasty and is primarily known for instigating the An Lushan rebellion which devastated China and killed millions of people.
An Lushan was of Sogdian and Göktürk origin, at least by adoption. He rose to prominence as a general by defending the northeastern Tang frontier from the Khitans and other threats. Through his frequent visits to Chang'an, the Tang capital, An Lushan managed to gain favour with Emperor Xuanzong of Tang and Chancellor Li Linfu. By 751, he had been appointed military governor over three prefectures. After the death of Li Linfu in 753, An Lushan's rivalry with General Geshu Han and Chancellor Yang Guozhong created military tensions within the empire.