Virupaksha Temple is located in Hampi 350 km from Bangalore, in the state of Karnataka in southern India. It is part of the Group of Monuments at Hampi, designated a UNESCO World Heritage Site. The temple is dedicated to Virupaksha, a form of Shiva. The temple was built by Lakkan Dandesha, a chieftain under the ruler Deva Raya II of the Vijayanagara Empire. Virupaksha Temple is the main center of pilgrimage at Hampi, and had been considered the most sacred sanctuary over the centuries. The temple is dedicated to Lord Shiva, known here as Virupaksha, as the consort of the local goddess Pampa who is associated with the Tungabhadra River. There is also a Virupakshini Amma temple (mother goddess) in a village called Nalagamapalle, Chittoor district, Andhra Pradesh, approximately 100 km from Tirupati.