Lahore  in 1008 bringing Mahmud into control of the Hindu Shahi dominions of Updhanpura. There is considerable evidence from writings of  Al-Biruni ,  Soghidan ,  Uyghur  and  Manichean  texts that the Buddhists ,  Hindus  and  Jains  were accepted as  People of the Book  and references to  Buddha  as Burxan or as a prophet