The Yuan dynasty (1271–1368) of China was the easternmost part of the vast Mongol Empire (stretching from East Asia to Eastern Europe), which became politically separated into four khanates beginning with the succession war in 1260. The Mongol leaders Genghis Khan, Ögedei Khan, Möngke Khan, and Hulagu Khan were able to conquer the Tangut-led Western Xia kingdom and the Jurchen-led Jin dynasty in northern China, as well as invading Korea under the Goryeo dynasty, turning it into a vassal state that was ruled indirectly. The Mongols withdrew after Korean monarchs agreed to move its capital back to the mainland from Ganghwa Island.