The Yadava records call Ramachandra a great devotee of Shiva (maha-maheshvara), and state that he anointed eight icons of the god with the milk of his fame. These records also compare him to Vishnu and his various avatars; for example, he is called Narayana among kings (raya-narayana). An inscription compares him to the legendary hero Rama, and states that he liberated the holy city of Varanasi from the mlechchhas (foreigners), and built a golden temple of Sharngadhara (Vishnu) there.