The Jin emerged from Taizu's rebellion against the Liao dynasty (916–1125), which held sway over northern China until the nascent Jin drove the Liao to the Western Regions, where they became known as the Western Liao. After vanquishing the Liao, the Jin launched a century-long campaign against the Han-led Song dynasty (960–1279), which was based in southern China. Over the course of their rule, the Jurchens of Jin quickly adapted to Chinese customs, and even fortified the Great Wall against the rising Mongols. Domestically, the Jin oversaw a number of cultural advancements, such as the revival of Confucianism.