Temple story
The temple legend says Meru, king of the mountains, had two sons by the grace of Lord Vishnu, Bhadra and Ratnakara. Bhadra became Bhadrachalam, where Sri Rama lives, and Ratnakara, by his own penance, became the Ratnagiri hill on which Vishnu settled as Sri Veera Venkata Satyanarayana Swamy. In 1891 the Lord appeared in a dream to Erranki Prakasam of the village, and with the local zamindar and villagers he found the idol on the hill and installed it. The Lord stands with Sri Anantha Lakshmi on one side and Lord Shiva on the other, so both Vaishnava and Shaiva devotees come here.
Source: Annavaram Devasthanam official site (annavaramdevasthanam.nic.in), Temple History · checked 28 Nov 2026