The Gurib was a clan of Zhangzhung, a kingdom that flourished in western Tibet until it was annexed by the Tibetan emperor Songtsen Gampo in the seventh century. The Gurib clan, which continues to this day, branched off from the ancestral Mu (rmu/dmu) clan. Nangzher Lopo, the Bon master who is said to have lived sometime in the eighth century in the Zhangzhung kingdom, was of the Gurib clan.