Humayun ruled from 1530 to 1556 A.D. He succeeded his father Babur at the young age of 23. He had to cope up with number of problems left behind by Babur.
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.