Faxian visited and worshiped the sacred Buddhist sites such as of The Shadow of the Buddha in Nagarhara (modern Jalalabad). In 630 AD Xuan Zang, the famous Chinese Buddhist monk, visited Jalalabad, which he referred to as Adinapur, and a number of other locations nearby. The city was a major center of Gandhara's Greco-Buddhist culture in the past, with sites such as Ahin Posh, until it was conquered by Ghaznavids in the 11th century CE. However, not everyone converted to Islam at that period as some still refused to accept it. In "Hudud-al-Alam", written in 982 CE, there is reference to a village near Jalalabad where the local king used to have many Hindu, Muslim and Afghan wives.