 On November 5, in the second year of the second reign of the Emperor Ruizong of Tang (711), the children of Miao Zicheng and Lei Wanxing staged a rebellion in Chaozhou, then hid in the high mountains.After Chen Yuanguang heard the news, he led a troop of light cavalry to defend against the rebels.He fought the whole day long, but was killed by the sword of the enemy general, whose name was Lan Fenggao ().