The famous Sun God Temple situated in Arasavalli Village which is at a distance of about 1 K.M. east of Srikakulam Town in Andhra Pradesh head quarters of the coastal district in Andhra Pradesh . It is one of the ancient and all among two sun God temples in our Country. According to Padmapuranam , Sage Kasyapa installed the Idol of Surya at Arasavalli for the Welfare of mankind . Therefore , the Surya is of Kasyapasa Gotra . He is also termed as planetary King . The ' Sthalapuranam ' of the temple narrates that lord Devendra had founded this temple and installed the existing idol of the sun God commonly known as Lord suryanarayana Swamy Varu under the following circumstances .
Once Lord Devendra , Ignoring the words of Dwarapalaka Nandi , attempted to force his entry for Darshan of Sri Rudrakoteswara Swamy varu at an untimely hour when Lord siva was along with his consort . The Dwarapalaka Nandi in the discharge of his duties kicked the intruder . Thus kicked and injured by the Devine attendent Indra fell down senceless . And in his unconscious state Indra dreamt that he would be relieved of his pain of injury in his chest caused by Nandi if he built a temple and installed an Idol of the Sun God . After regaining his consciousness , he remembered what he dreamt .