Al Biruni was made court astrologer in Ghazni and he accompanied with Mahmud on his invasions on India. He lived for several years here and is considered to be first Indologist.
After the death of Ali Adil Shah II in 1672 CE, Sikandar Adil Shah was placed on the throne of Bijapur in 1672 at four years of age. This weakened the kingdom and was ultimately annexed by Emperor Aurangzeb in 1686 CE.