candidate: As Dali forces approached Yong Prefecture , Kang sent the troops from six circuits to engage them , using the local Liao (獠) tribesmen as guides ; the Liao led the Tang forces into an ambush by Dali forces , and the troops of five circuits were annihilated , with only the Tianping forces , because they were late by one day , escaping the ambush .