Answer
Before the arrival of Islam, the area around Ghazni was inhabited by various tribes who practiced different religions, including Zoroastrianism, Buddhism, and Hinduism. The arrival of Arab Muslims in the 7th century marked a significant shift in the religious landscape of the region.