Various nomadic empires, including the Xiongnu (3rd century BC–1st century AD), the Xianbei state (c. AD 93–234), the Rouran Khaganate (330–555), the First (552–603) and Second Turkic Khaganates (682–744) and others, ruled the area of present-day Mongolia. The Khitan people, who used a para-Mongolic language, founded an empire known as the Liao dynasty (916–1125), and ruled Mongolia and portions of North China, northern Korea, and the present-day Russian Far East.
In 1206, Genghis Khan was able to unite the Mongol tribes, forging them into a fighting force which went on to establish the largest contiguous empire in world history, the Mongol Empire (1206–1368). After the fragmentation of the Mongol Empire, Mongolia came to be ruled by the Yuan dynasty (1271–1368) based in Khanbaliq (modern Beijing) and administered as part of the Lingbei Province. Buddhism in Mongolia began with the Yuan emperors' conversion to and dissemination of Tibetan Buddhism.