Alberuni, who visited India in the early 11th century along with Mahmud Ghaznavi, mentioned the existence of Khajuraho in his famous work 'Kitab al-Hind' (also known as "An Enquiry into India"). His account provides one of the earliest known foreign references to the site, which was then the capital of the Chandela dynasty.