Gampopa Sönam Rinchen was the main student of Milarepa, and a Tibetan Buddhist master who codified his own master's ascetic teachings, which form the foundation of the Kagyu educational tradition. Gampopa was also a doctor and tantric master. He authored the first Lamrim text, Jewel Ornament of Liberation, and founded the Dagpo Kagyu school. He is also known as Dvagpopa, and by the titles Dakpo Lharjé "the physician from Dakpo" and Daö Zhönnu, "Candraprabhakumara".