During the reign of Ali Adil Shah II of Bijapur Sultanat , Afzal Khan was a leading figure of the court .
Ali Adil Shah II was a leading court figure during the reign of Afzal Khan of the Bijapur Sultanate .