The Ranganthaswamy temple in Srirangapatina, in the Mandya district of Karnataka state, India, is dedicated to the Hindu god Ranganatha (a manifestation of the god Vishnu). It is one of the five important pilgrimage sites along the river Kaveri for devotees of Ranganatha. These five sacred sites are together known as Pancharanga Kshetrams in Southern India. Since Srirangapatna is the first temple starting from upstream, the deity is known as Adi Ranga. According to the Archaeological Survey of India (ASI), the temple is one of considerable antiquity. An inscription at the temple reveals it was first consecrated in 894 A.D. by a local chief called Tirumalaiah, a vassal of the Western Ganga dynasty. In early 12th century, Hoysala King Vishnuvardhana (r.1108-1152) granted the village of Srirangapatna to the Vaishnava saint Ramanujacharya as an agraharam (place of learning). An inscription of the great Hoysala King Veera Ballala II (1210 A.D.) confirms that additions and renovations were made to the temple at that time. The tower over the entrance bears features consistent with Vijayanagara architecture. According to historian George Michell, contributions were also made by the Wodeyar kings of the Kingdom of Mysore.The temple is protected by the Archaeological Survey of India as a monument of national importance.