(1) During the reign of Ali Adil Shah II of the Bijapur Sultanate , Afzal Khan was a leading hoffigur .
(2) Afzal Khan was a leading court figure during the reign of Ali Adil Shah II of the Bijapur Sultanate .

Do these two sentences mean the same thing?
no