Yelü Dashi
In 1123, Nanjing surrendered to the Jin forces. When the Jin army attacked the Emperor Tianzuo's refuge in Qingzhong (south of modern-day Hohhot, Inner Mongolia), he decided to escape to the Western Xia dynasty. Yelü Yali, the Prince of Liang, fled north and proclaimed himself emperor, only to die five months later. His son, Yelü Zhulie, succeeded him, but was killed one month later by his own troops. The death of Yelü Zhulie in 1123 marked the end of Northern Liao. In 1124, Yelü Dashi would lead a faction of the Liao court to Central Asia where he proclaimed the Western Liao dynasty. The Liao dynasty led by Emperor Tianzuo would collapse in 1125 when he was captured by the Jin general Wanyan Loushi.