He later travelled all around China in search of sacred books of Buddhism. He wanted to learn from the roots of Buddhist practice. He became famous for his seventeen-year journey to India. His journey is recorded in the "Great Tang Records on the Western Regions". This in turn provided the inspiration for the novel "Journey to the West" written by Wu Cheng'en during the Ming Dynasty, around 900 years after Xuanzang's death.