Desi Sangye Gyatso (1653–1705) was the fifth regent (desi) of the 5th Dalai Lama (1617–1682), who founded the School of Medicine and Astrology on Chags po ri (Iron Mountain) in 1694 and wrote the Blue Beryl (Blue Sapphire) treatise. The name is sometimes written Sangye Gyamtso.
By some accounts, Sangye Gyatso is believed to be the son of the "Great Fifth". He ruled as regent, hiding the death of the Dalai Lama, while the infant 6th Dalai Lama was growing up, for 16 years. During this period, he oversaw the completion of the Potala Palace and warded off Chinese politicking. The discovery of his deception was not taken kindly by the Kangxi Emperor of the Qing dynasty.
He is also known for harboring disdain for Tulku Dragpa Gyaltsen. According to Lindsay G. McCune in her thesis (2007), Desi Sangye Gyamtso refers in his Vaidurya Serpo to the Lama as the "pot-bellied official" (nang so grod lhug) and states that, following his death, he had an inauspicious rebirth.
The medical college at Chagpori (lchags po ri; "Iron Mountain") was designed for monastic scholars who would, after learning esoteric arts of medicine and tantrism, mostly remain in the monastery, serving the public as would other monk scholars and lamas. In 1916, Khenrab Norbu, physician to the 13th Dalai Lama, sponsored the construction of a second secular college of Tibetan medicine and Astrology, the Mentsikhang. Mentsikhang was designed as a college for 'laypersons' who would, after receiving training, return to their rural areas for work as doctors and educators.
Six medicinal substances were in common use in Tibet when they appeared in the Blue Beryl Treatise:
Sangye Gyatso became regent or desi of Tibet at the age of 26 in 1679. Three years later, in 1682, the 5th Dalai Lama died. However, his demise was kept secret until 1696-97, and the desi governed Tibet. In many ways he was a remarkably efficient politician who concluded a war with Ladakh that enabled the Tibetan regime to acquire the Ngari region in 1684. He entertained close contacts with Galdan Boshugtu Khan, the ruler of the emerging Dzungar Khanate of Inner Asia, with the aim of countering the role of the Khoshut Mongols in Tibetan affairs. The Khoshut khans had functioned as protector-rulers of Tibet since 1642 but their influence had been on the wane since 1655. The supposed reincarnation of the Dalai Lama was born in 1683 and discovered two years later. He was secretly educated in Nankhartse while Sangye Gyatso proceeded to hide the death of his master. It was only in 1697 that the Sixth Dalai Lama, Tsangyang Gyatso, was installed. This evoked great irritation from the Qing Kangxi Emperor who had been kept in the dark about the matter, and furthermore was an enemy of the Dzungar rulers. Meanwhile, a new and ambitious Khoshut ruler came to power, Lha-bzang Khan.