Geshu Han
In 756, after An's forward forces defeated and captured the Tang general Geshu Han at Tong Pass, Emperor Xuanzong, under Yang's advice, decided to abandon Chang'an and flee to Jiannan Circuit (劍南, headquartered in modern Chengdu, Sichuan). On July 13, the imperial train, without announcing to the people of Chang'an, left Chang'an, with Emperor Xuanzong attended to by the imperial clan members, Yang, Wei Jiansu, the official Wei Fangjin (), the general Chen Xuanli (), and eunuchs and ladies in waiting close to the emperor.