Answer
Upon his return to China, Xuanzang was invited to meet with the Emperor Taizong, who encouraged him to write a travelogue of his journey. The resulting text, the Great Tang Records on the Western Regions, became one of the most important sources of information about the Indian subcontinent in medieval China.