The founding of the Vijayanagara Empire in 1336 CE marked a pivotal moment in South Indian history, emerging from the political chaos that followed the collapse of earlier Hindu dynasties and the increasing pressure from Islamic invasions from the north. According to traditional accounts, the empire was established by two brothers, Harihara and Bukka, who had served as feudatories under the Hoysala and Kakatiya dynasties before being captured and converted to Islam by the Delhi Sultanate. The story relates that they were later reconverted to Hinduism by the sage Vidyaranya and commissioned to establish a kingdom that would protect Hindu dharma and culture from further Islamic encroachment.
The strategic location chosen for the capital reflected the founders' sophisticated understanding of geography, defense, and commerce. The site of Hampi, known in ancient texts as Pampa-kshetra after the local name for the Tungabhadra River, was already sacred to Hindus as the legendary birthplace of Hanuman and the place where Rama first met the monkey king Sugriva in the Ramayana epic. The rocky terrain provided natural fortifications among the granite hills and boulders, while the river ensured water supply and facilitated trade connections. The area's association with the powerful goddess Pampa and the temple of Virupaksha gave the new capital important religious legitimacy that connected the Vijayanagara rulers to ancient Hindu traditions.