 Against this background, both Zhang Lu and Zhang Xiu were abruptly ordered by Liu Yan to go together to attack Su Gu (), the Han-appointed administrator of Hanzhong Commandery and take over his territory.However, having his own designs, Zhang Lu killed Zhang Xiu and took command of his troops and religious followers before he went off for the campaign against Hanzhong.He successfully managed to defeat Su Gu, and upon taking control of Hanzhong, renamed the region Hanning (), ruling it by the principles of his religion.