SERVED as the capital of the Vijayanagara Empire. It served as the capital of the Vijayanagara Empire from 1343 to 1565, when it was besieged by the Deccan MUSLIM confederacy. Hampi was chosen because of its strategic LOCATION, bounded by the TUNGABHADRA river on one side and surrounded by defensible hills on the other three sides.