Mariyamman of Punnainallur
Punnainallur is a small village near the city of Thanjavur. When Chozhas were ruling Thanjavur, a Mariamman temple existed here. But for reasons unknown this temple disappeared.
In the year 1680, Thanjavur was ruled by a Maratha king called Venkoji. He was a great devotee of Samayapuram Mariyamman. Once he reached Samayapuram only at night. So he slept outside the temple. That night Mariamman came in his dream and told that there was no necessity for him to come to Samayapuram as she herself is in Punnainallur, buried in an ant hill. Venkoji rushed to Punnainallur and stated searching for Mariamman. He located the any hill. And started digging for it. He located the statue and built a temple for Mariamman and started worshipping her. After him, this temple again fell in to disuse.
In 1738 another Maratha king Thulaja was ruling Tanjore. His daughter was affected by small pox and lost her eye sight. The king wept in sorrow. That night Mariamman again came in his dream in the form of a small girl and told him about his location. She assured him that she will solve his problem. He located the anthill with the help of a goatherd and started digging there. First he got a palm leaf. It instructed him to build the body of Mariamman with the mud of the ant hill and fix over it the head that is buried there. A great scholar called Sadashiva Brahmendrar helped him. He consecrated the idol as per instruction. As son as his blind daughter was brought o the temple she regained her eye sight. From then on the kings of Tanjore endowed special attention on maintenance of this temple. It is now a huge well maintained temple, blessing all her devotees.