The following year, Xiang Liang installed Mi Xin as King Huai II of Chu after eliminating Jing Ju. Zhang Liang's main goal was to reestablish his native state of Hán, so he managed to persuade Xiang Liang to do the same for the Hán state. Han Cheng, a descendant of the royal family of Hán, was enthroned as King of Hán, while Zhang Liang was appointed as the Hán's chancellor. Han Cheng's armies attempted to capture Qin cities that were formerly Hán territories but did not achieve much success and engaged in guerrilla warfare for about a year. Later that year, Xiang Liang was killed in action at the Battle of Dingtao and King Huai II put Xiang Yu (Xiang Liang's nephew) and Liu Bang each in charge of an army to attack Qin, promising that whoever entered Guanzhong (heartland of Qin) first would be conferred the title of "King of Guanzhong".