At the time. Phra Maha Kassapa presented to the King relics of the Buddha (a collarbone). The relics were then moved and kept on top of Doi Tung, previously known as Doi Din Daeng where the Milakku or Lua tribe resided. The King gave gold to the head of the tribe in exchange for an additional 3.000 square wa extension on each side of the land surrounding Phrathat. The temple was named after a sacred flag known as Tung in local dialect which was 7,000 square wa in length and put up at the temple by Phra Maha Kassapa.