 Complete the following phrase:  Nianhan served as one of Agudas chief advisers in the Jurchen rebellion against the Khitan-led Liao dynasty in 1114. He participated in the ensuing war between the Jurchens and Khitans that led to the destruction of the Liao dynasty and its replacement by the Jin dynasty. Under Agudas successor, Wuqimai Emperor Taizong, Zhanhan played a major role in the 