Kara-Khanid Khanate
His father, Hussayn, was the mayor of Barsgan, a town in the southeastern part of the lake of Issyk-Kul (nowadays village of Barskoon in Northern Kyrgyzstan's Issyk-Kul Region) and related to the ruling dynasty of Kara-Khanid Khanate.