 When Yan informed the Tang imperial government of the situation, Liu was made the military governor to replace Lü, Wang made the deputy protectorate general to replace Fumeng, and Dong was made the military commander of the circuit (兵馬使, "Bingmashi").The Pinglu army subsequently made a number of harassing attacks against An's original base at Fanyang (范陽, i.e., modern Beijing), and Dong distinguished himself in these battles, including a victory over the Xi general Abuli () when the Xi allied with Yan.Subsequently, after Liu suffered a defeat and returned to Pinglu, Wang, for reasons lost to history, poisoned Liu to death.