The Ramoche Temple (Tib. ར་མོ་ཆེ་, Wyl. ra mo che) in Lhasa was founded by Queen Wencheng at the same time as the Jokhang during the reign of Songtsen Gampo. It originally housed the famous Jowo Rinpoche statue. Later, in response to the threat of an invasion, the Jowo Rinpoche was moved to the Jokhang, where it was originally hidden in a secret chamber. As a replacement, an image of Shakyamuni Buddha known as Jowo Mikyö Dorje, which had been sculpted by the famous craftsman Vishvakarman and brought to Tibet by Queen Bhrikuti, was brought from the Jokhang and installed as the central image in Ramoche.