 Karim Khan's death in 1779 left his territory vulnerable to threats from his enemies.His son and successor Abu al-Fath was an incompetent ruler who was heavily influenced by his half uncle (and Karim Khan's commander), Zaki Khan.Other rulers such as Ali Morad and Jafar Khan also failed to follow the policies of Karim Khan and soon enough, the country was under attack from all sides.