qnli question: Who gained temporal power in Tibet in the 1240s? sentence: Mongolian prince Khuden gained temporal power in Tibet in the 1240s and sponsored Sakya Pandita, whose seat became the capital of Tibet.