who set up the first foreign dynasty in china
Yuan dynasty The Yuan dynasty (Chinese: 元朝; pinyin: Yuán Cháo), officially the Great Yuan[4] (Chinese: 大元; pinyin: Dà Yuán; Yehe Yuan Ulus[b]), was the empire or ruling dynasty of Mongolia established by Kublai Khan, leader of the Mongolian Borjigin clan. Although the Mongols had ruled territories including today's North China for decades, it was not until 1271 that Kublai Khan officially proclaimed the dynasty in the traditional Chinese style,[5] and the conquest was not complete until 1279. His realm was, by this point, isolated from the other khanates and controlled most of present-day China and its surrounding areas, including modern Mongolia.[6] It was the first foreign dynasty to rule all of China and lasted until 1368, after which the rebuked Genghisid rulers retreated to their Mongolian homeland and continued to rule the Northern Yuan dynasty.[7] Some of the Mongolian Emperors of the Yuan mastered the Chinese language, while others only used their native language (i.e. Mongolian) and the 'Phags-pa script.[8]
Tang dynasty The Tang dynasty or the Tang Empire (Chinese: 唐朝[a]) was an imperial dynasty of China preceded by the Sui dynasty and followed by the Five Dynasties and Ten Kingdoms period. It is generally regarded as a high point in Chinese civilization, and a golden age of cosmopolitan culture.[4] Its territory, acquired through the military campaigns of its early rulers, rivaled that of the Han dynasty, and the Tang capital at Chang'an (present-day Xi'an) was the most populous city in the world.