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.
The brickwork of the large chedi is left mostly bare, this in contrast to the, often recently, stuccoed chedis of other temples in Chiang Mai. Of note are the finely sculptured Nāgas and wooden temple façade. The temple is aligned along a north-south axis - most Buddhist temples are orientated towards the East, towards the rising sun.