Al-Biruni was born in 973 in Khwarizm, a significant center of intellectual activity. He was multilingual, mastering languages such as Syriac, Arabic, Persian, Hebrew, and Sanskrit. In 1017, he was taken to Ghazni as a consequence of Sultan Mahmud's invasion. Initially a hostage, he grew to appreciate the city and spent the rest of his life there. Al-Biruni's interest in India thrived in Ghazni, where he learned Sanskrit and absorbed Indian philosophical and religious thought, reflecting the broader cultural interactions facilitated by the Ghaznavid empire. His travels in the Punjab and engagement with local culture illustrated his role in Arab-Islamic scholarship and the dissemination of knowledge across civilizations.