According to Gopalraj Aalok Vamsavali, the oldest ever chronicle in Nepal, this temple was built by Prachanda Deva, a Licchavi King, who according to the stone inscription erected by Jayadeva 11 in the courtyard of Pashupatinath in 753 AD, happened to be the ruler 39 generations before Manadeva (464-505 AD).