It is said that it came into being when the Buddhist Deity Manjushri spent time on the hill where the temple was set. Another reason is there is a huge population of monkeys in the temple.