In 1527, King Ket (also known as Mueangketklao or Phra Kaew Muang) commissioned the chedi and in 1545, he also had the viharn (assembly hall) built.
The ashes of several members of the Mengrai dynasty were placed in this temple . Until the demise of their dynasty, the Mengrai royal family took the responsibility for maintaining the temple.