After the conquest of Zhao the Qin army then turned its attention towards the state of Yan.
In 755, the military governor An Lushan rebelled, and by 756 had established a new state of Yan.
By summer 756, An had declared a new state of Yan as its emperor, and his forces were approaching Chang'an.
In spring 756, he declared himself emperor of new state of Yan.
He helped the states of Yan, Xing and Wey against barbarian troops.
This settlement was later conquered by the state of Yan and made its capital under the name Yanjing.
In its early days, this theory was most strongly associated with the states of Yan and Qi.
An's forces quickly captured Luoyang, and he declared himself the emperor of a new state of Yan there.
He was ordered to restore territory lost to the states of Jin and Yan.
The state of Yan was small, weak and frequently harassed by soldiers.