The Khitan people (Chinese: 契丹
There is no consensus on the etymology of the name of Khitan. There are basically three speculations. Feng Jiasheng argues that it comes from the Yuwen chieftains' names. Zhao Zhenji thinks that the term originated from Xianbei and means "a place where Xianbei had resided". Japanese scholar Otagi Matuo considers Khitan's original name is "Xidan", which means "the people who are similar to the Xi people" or "the people who inhabit among the Xi people".
The word "Khitan" survives in the Bulgarian and Russian word for China (Китай, Kitay) as well as in the Slovene language (Kitajska) and in archaic English (Cathay),Italian (Catai), Portuguese (Catai), and Spanish (Catay) appellations of the country.
They have different stories about their origin. According to Khitan records (Memorial Tablet of Yelu Yuzhi and the Liaoshi), their early ancestor was Qishou Khagan, a descendent of Tanshihuai Khan of the Xianbei state. Qishou Khagan was a divine man riding a white horse who floated down the Laoha River and met Kedun, a heavenly maiden riding a cart drawn by a grey ox who had floated down the Xar Moron River. At the intersection of the two rivers, at the foot of the holy Muye Mountain, they met and mated, giving birth to eight sons, the ancestors of the ancient eight tribes of the Khitan. A temple with portraits of Khitan ancestors was built on Mount Muye their holiest mountain. This story is somewhat similar to that of the origin of Genghis Khan, which speaks of 'Heaven-born Blue Wolf' and 'Fair Doe' crossing the sea (Tengis) and mating at the source of the Onon River, at the foot of Mount Burkhan Khaldun, which became the holiest mountain of the Borjigin Mongols. The Qidan Guozhi(Records of the Khitan State, completed in 1247) records a Khitan legend in its preface:
There was a chief called Naihe. This chief was nothing but a skull hidden under a rug in a round felt tent (yurt), so that he was invisible. Only when something serious had happened in his state, a white horse and a gray ox were sacrificed to him, then he took on a human figure, and came out to deal with the affairs. After the affairs had been settled, he returned to the tent and became a skull again. He disappeared, for his countrymen peeped at him. Then there was another chief called Waihe who was also living in a round felt tent. He wore a boar's head and was clad in pigskin. When there was an action he came out, then he retired and hid himself again. Later it happened that his wife stole his pigskin; he abandoned her and nobody knew where he went. Then there was another one called Zhouli Hunhe. He had raised twenty sheep. Each day he ate nineteen and had only one left, but in the following day there were twenty again. These three chiefs were well known for their abilities in running their state.
From Xianbei origins, they were part of the Kumo Xi tribe until 388, when the Kumo Xi-Khitan tribal grouping was roundly defeated by the newly established Northern Wei, allowing the Khitan to resume their own tribe and entity, and beginning the Khitan written history.
From the 5th to the 8th centuries, they were dominated by the steppe power to their West (Turks, then the Uyghurs, during the 8th and 9th centuries) and the Chinese to their south (Northern dynasties or Tang, respectively during the 5th and 6th, and 7th to 10th centuries. Under this triple domination and oppression, the Khitan started to show growing power and independence. This rise was, compared to other cases, slow. Slow because it was frequently crushed by its neighbouring powers, each using the Khitan warriors when needed, but each ready to crush them when the Khitan rose too much and became powerful, close to becoming an independent fourth regional power. The 696-697 Li-Shun Rebellion is really instructive on this "2 adults and 1 teenager" game : the Khitan were encouraged by the Turks to take all the risks and revolt against the Tang, which they successfully accomplished, before being attacked at their rear by the Turks, to the great advantage of the newly-reborn Turkish empire (2d, 682-745).
Enjoying the departure of Uyghur people for West, and the collapse of the Tang Dynasty in early 10th, they established the Liao Dynasty in 907. The Liao Dynasty proved to be a significant power north of the Chinese plain, continuously moving south and West, gaining control over former Chinese and Turk-Uyghur's territories. They eventually fell to the Jin Dynasty of the Jurchen in 1125, who submit and absorb Khitans to their military benefit.
Following the fall of the Liao Dynasty, a number of the Khitan nobility escaped the area westwards towards Western Regions, establishing the short-lived Kara-Khitan or Western Liao dynasty, and after its fall, a small part under Buraq Hajib established a local dynasty in the southern Persian province of Kirman. These Khitans were absorbed by the local Turkic and Iranic populations, islamized and left no influence of themselves. As the Khitan language is still almost completely illegible, it is difficult to create a detailed history of their movements.
There is no clear evidence of there being any descendant ethnic groups of the Khitai in modern-day Northeast China, but some recent genetic studies and family genealogy researches have substantiated the hypothesis that the Daur ethnic group of Inner Mongolia are possible descendants of the ancient Khitans. and the Yunnan Han Chinese clans of A, Mang, Jiang, plus dozens of other clans who self-identified as Yelu descents and were called Ben People by other Yunna