The temple has quite a story attached to it. It's not clear exactly when, but the story is of a boy who tied his buffalo to a post sticking out of the ground. The boy became sick and died. It was found that the post he had tied the buffalo to was the top of a buried Buddha image hidden in the undergrowth. The buffalo was also dead. The villagers tried to dig up the Buddha, but could not. Those who did not say prayers got attacked by wasps, hornets and bees. The governor ordered the people to cover the image with gold and to build a temple around it.
Inside the temple ....