 However, later he and his family were framed by another general.Without any choices, Pei's family surrendered to Wagang Fort.Pei Yuanqing was killed by a fire attack during the battle of Linyang Pass.