 They built the strong ramparts and gateways of the fort which, according to tradition, took a hundred years to build.Numerous inscriptions in the fort refer to the reign of Ibrahim Adil Shah, probably Ibrahim I (1534–1557).In 1659, after the death of the Bijapur general Afzal Khan, in the ensuing confusion Shivaji took Panhala from Bijapur.