Biruni was made court astrologer and accompanied Mahmud on his invasions into India, living there for a few years.
Biruni blev gjort til Astrologo og ledsages Mahmud på hans invasioner i Indien, og boet der i et par år.