 Just as Li Keyong and Wang Chucun beat back the Chengde/Lulong attack, however, another crisis was developing.At that time, Emperor Xizong's court was dominated by the eunuch Tian Lingzi, who commanded the imperial Shence Armies.After Emperor Xizong's return to Chang'an in early 885, Tian and Wang Chongrong came into dispute over control of the salt ponds at Anyi (安邑) and Jie County (解縣, both in modern Yuncheng), which had previously been under the control of the imperial director of salt and iron monopolies, but which Wang Chongrong had taken over during the Huang Chao occupation of the Chang'an region.