Niu Sengru
In 846, after Emperor Wuzong died and was succeeded by his uncle Emperor Xuānzong, Cui Gong and four other former chancellors that Emperor Wuzong had exiled – Li Zongmin, Niu Sengru, Yang Sifu, and Li Jue – were allowed to be moved closer to Chang'an; in Cui's case, he was made the secretary general of An Prefecture (安州, in modern Xiaogan, Hubei). Sometime thereafter, he was made an advisor to the Crown Prince, and then the military governor of Fengxiang Circuit (鳳翔, headquartered in modern Baoji, Shaanxi). In 848, in the middle of Tang campaigns to recover territory that had been lost to Tufan ever since the end of the Anshi Rebellion, Cui had a victory over Tufan forces and recaptured Qingshui (清水, in modern Tianshui, Gansu).