In 1220 Chinggis Khan decided to move his capital from the Onon Valley in Khentii to Karakorum. Building began after his death by his son Ogedai Khan. It served as capital for only 40 years when Kublai Khan moved to Khanbalik, in what is now Beijing.