Akbar remained illiterate and uneducated all his life. He had to occupy the throne at the early age of 13 years after the untimely death of his father Humayun.
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.