The Liao dynasty, also called Khitan empire, was an empire in Asia. It was formed by the Yelü clan of the Khitan people after the fall of the Tang Dynasty. They ruled from 907 AD to about 1125. The first ruler was Yelü Abaoji, Khan of the Khitan peoples. It was originally called the "Qidan Kingdom" until about 947. Its capital was the present day Bairin Left Banner in Inner Mongolia. Its territory included parts of Northern China, middle Mongolia, and Tianjin and Hebei to the south.