The Tango Monastery is located to the north of Thimphu near Cheri Mountain. It was founded by Lama Gyalwa Lhanampa in the 13th century and built in its present form by Tenzin Rabgye, the 4th Temporal Ruler in 1688. According to local legend, the location of this monastery is the holy place where Avalokiteshvara revealed himself as "the self-emanated form of the Wrathful Hayagriva". The location had been prophesied in Tibet. In 1616, the Tibetan Shabdrung Ngawang Namgyal meditated in its cave. The self-emanated form of the wrathful Hayagriva is deified in the monastery. It belongs to the Drukpa Kagyu School of Buddhism in Bhutan. The word 'Tango' in Bhutanese language means "horse head". This name conforms to the main deity Hayagriva (local name ''Tandin'') deified in the monastery.