The Mirror of the Royal Genealogies was composed by Lama Dampa Sonam Gyaltsen, a Sakyapa religious scholar. It was completed shortly before his death in 1375. The author drew on many different sources and the text is presented as a compilation (bsgrigs). The text, often referred to as Me long ma, became very popular among both historians and Tibetans in general, and was frequently cited by later writers.