candidate: In 863 , a major Dali attack against Tang 's Annan District ( 安南 , headquartered in modern Hanoi , Vietnam ) captured Annan , and the Tang protector general for Annan , Cai Xi ( 蔡襲 ) , died while fighting the Dali forces .