This is a timeline of the history of the Khitans. The Khitans were a nomadic people in northeastern Asia related to the Xianbei. Following the collapse of the Tang dynasty, they established the Liao dynasty in 916, encompassing parts of modern northern China, Mongolia, and North Korea. The Liao dynasty destroyed by a Jurchen uprising which lasted from 1112 to 1125, resulting in the Jin dynasty (1115–1234). Remnants of the Liao under Yelü Dashi fled westward to Central Asia where they established the Qara Khitai empire, also known as the Western Liao dynasty. In 1211, the Qara Khitai throne was usurped by a Naiman called Kuchlug fleeing from the Mongols. The Mongols chased after him and killed him in 1218, conquering the Qara Khitai empire.