 So Yusuf assigned Khizr Baba, born in Khotan but whose mother originated from Western Turkestan's Mawarannahr, to take care of the shrine of the four Imams at their tomb.Due to the Imam's death in battle and burial in Khotan, Altishahr, and despite their foreign origins, the Kara-khanids are viewed as local saints by the current Hui people in the region.The Karakhanid also converted the Uyghurs.