In 907, Zhu Quanzhong had Emperor Zhaozong's son and successor Emperor Ai yield the throne to him, ending Tang Dynasty and starting a new Later Liang with him as its Emperor Taizu.
In fall 908, Former Shu and Qi forces attacked Chang'an, and Jin forces under Zhang Chengye were also set to join the battle.