Sri Naan Madhia Perumal temple is one of the Divya Desams, the 108 temples of Vishnu Believed to have been visited by the 1 poet saints or Alwars.
This Temple is located at Akkur near Karuvi Junction, Mayavaram in Tanjore district.Sri Naan Madhiya Perumal temple is vast an exciting edifice.The main Deity of sri Naan Madhiya Perumal Temple is Sri Naan Madhiya Perumal and Thalai Sanga Naachiyaar.
Sangu means shells. As once the very best shells of Kaviripoompatinam was sold here. This place is called Thalai sangam (litrally - place of best shells). And as there were lot's of purasa Maram (Purasa tree) the term Kadu - forest joined to give the name Thalai sang - Kadu = Thalaisangadu.
Lord Shiva wears the cresent moon as his head ornament. As like Lord Shiva, Lord Vishnu too has cresent moon in this place.
This temple is very small. Looks like the Chandraloga land of Moon god.Thaayar has no seperate sannadhi.
As the Moolavar of this place took away the curse on the moon god, he is named as chandra Shaba Harar (ie) chandra - moon, Shabam - Curse, Harar - person who demolishes.