The Ismailis continued to retain good relation with the Abbasids and Khwarazamshah. Alauddin Khwarazmshah (d. 617/1220) and Jalaluddin Khwarazamshah (d. 628/1231) were very proud of their wealth and grandeur and their relations with the Abbasids and the Ismailis became deteriorated and fell into a swift decline. The Mongol routed the empire of Khwarazmshah in 628/1231 with no difficulty, because no Muslim power came to help them. It must be noted that the kingdom of Khwarazmshahis was founded by Anushtagin (1077-1097). This dynasty ruled for 153 years from 471/1079 to 628/1231 and produced 8 rulers belonging to seven generations.
Hence, only two big powers remained in existence in Islamic world, i.e., the Abbasids and the Alamut.