This is Wat Chamadevi, better known locally as Wat Ku Kut. Named after Lamphun's founding queen and most celebrated ruler, this temple lies on the western side of town, about one-and-a-half kilometres from the moats down the road to Sanpathong Village.