The Kara-Khanid Khanate under Nasr Illig Khan and Yusuf Qadir Khan attempted to conquer the Khorasan, held by the Ghaznavid empire, in two phases in 1006 AD and 1008 AD. Despite initial successes, the
The Kara-Khanid ruler Ilig Khan on horse, submitting to Mahmud, who is riding an elephant. Jami al-Tawarikh, c. 1314