喀喇汗国
During the chaos that occurred among the Samanids, Khwarazm was not affected by it. However, in 992, Abu 'Abdallah aided the Samanid ruler Nuh II against the Kara-Khanid Khanate, and was granted several towns in northern Khurasan, which included the important town of Abiward. Abu 'Ali Simjuri, the governor of Khurasan, however, refused to grant the latter the cities.