Numerous current towns originate from the medieval era, exemplified by cities such as Varanasi, Madurai, and Prayag. These settlements frequently served as kingdom capitals and were predominantly fortified towns erected upon the foundations of earlier habitations.