The Liao dynasty (ljaʊ; Khitan: Mos Jælud; ), also known as the Khitan Empire (Khitan: Mos diau-d kitai huldʒi gur), officially the Great Liao (), was an imperial dynasty of China that existed between 916 and 1125, ruled by the Yelü clan of the Khitan people. Founded around the time of the collapse of the Tang dynasty, at its greatest extent it ruled over Northeast China, the Mongolian Plateau, the northern part of the Korean Peninsula, southern portions of the Russian Far East, and the northern tip of the North China Plain.
The dynasty rose from the consolidation of power among the Khitans in the 8th century and their expansionist campaigns in the latter half of the 9th century. Eventually the Yila chieftain, Abaoji, became the leader of the Khitans and proclaimed a Chinese-style dynastic state in 916. The Liao dynasty launched multiple military campaigns against neighboring states and peoples including the Kumo Xi, Shiwei, Tatars, Zubu, Khongirad, Balhae, Goryeo, Later Tang, and the Song dynasty. Its conquests include the Sixteen Prefectures (including present-day Beijing and part of Hebei) by fueling a proxy war that led to the collapse of the Later Tang (923–936). In 1004, the Liao dynasty launched an expedition against the Northern Song dynasty. After heavy fighting and large casualties between the two empires, both sides worked out the Chanyuan Treaty. Through the treaty, the Liao dynasty forced the Northern Song to recognize them as peers and heralded an era of peace and stability between the two powers that lasted approximately 120 years. It was the first state to control all of Manchuria.
Tension between traditional Khitan social and political practices and Han influence and customs was a defining feature of the dynasty. This tension led to a series of succession crises; Liao emperors favored the Han concept of primogeniture, while much of the rest of the Khitan elite supported the traditional method of succession by the strongest candidate.