Hampi sits on the banks of the Tungabhadra River in the ruins of the ancient city of Vijayanagar, capital of the Vijayanagara empire. Virupaksha Temple is the main center of pilgrimage at Hampi and has been considered the most sacred over the centuries. It is fully intact among the surrounding ruins and is still used in worship. 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 powerful Virupakshini amma temple (mother goddess) in a village called Nalagamapalle, Chittoor District, Andhra Pradesh, approximately 100 km from Tirupati.