The Mongol conquest of China
Genghis Khan rose to supremacy over the Mongol tribes in the steppe in 1206, and within a few years he attempted to conquer northern China. By securing in 1209 the allegiance of the Tangut state of Xi (Western) Xia in what are now Gansu, Ningxia, and parts of Shaanxi and Qinghai, he disposed of a potential enemy and prepared the ground for an attack against the Jin state of the Juchen in northern China. At that time the situation of Jin was precarious. The Juchen were exhausted by a costly war (1206–08) against their hereditary enemies, the Nan (Southern) Song. Discontent among the non-Juchen elements of the Jin population (Chinese and Khitan) had increased, and not a few Chinese and Khitan nobles defected to the Mongol side. Genghis Khan, in his preparation for the campaign against Jin, could therefore rely on foreign advisers who were familiar with the territory and the conditions of the Jin state.