The construction of the temple started in the 14th century, when King Saen Muang Ma planned to bury the ashes of his father there. After 10 years of building time it was left unfinished, later to be continued after the death of the king by his widow.