Hampi served as the capital city of the mighty Vijayanagara Empire from the 14th to the 16th centuries. After the empire's defeat in the Battle of Talikota in 1565, the city was extensively plundered and destroyed, leaving behind the vast ruins that are now a UNESCO World Heritage Site.