Sakya Pandita (1182-1251) or Zhang-jia Ping-tu Ke-tu Fa-wang was the fourth of the five patriarchs of the Sakya Sect. Sakya Pandita Gunga Gyeltsen was invited by Godan Khan, the Mongol Emperor of China to come to the Mongol court as his spiritual guide. He was a famous scholar who wrote A Clear Differentiation of the Codes: Essential Distinctions Among the Individual Liberation, Great Vehicle, and Tantric Systems .and Treasury of Logic on Valid Cognition, a commentary on the works of Dhamakirti. Like Je Tsongkhapa and Longchenpa, Sakya Pandita, was considered a Tibetan manifestations of Manjushri. His title was given him in recognition of his knowledge of Sanskrit.