Khubilai provided excellent care for the dowager empress and allowed most of the royal family to live in a wonderful palace with all the luxuries to which they had been accustomed. To avoid the heir of the deposed Sung becoming a center for rebellion, he sent the young emperor to study in Tibet, where he became a monk in 1296.