Sher Ali Khan
But Mir Shah had troubles governing his region. Family quarrels over territory kept him busy till his death in 1862. He was succeeded by his son Mir Jahandar Shah. He too would get involved in various intrigues in the region as well as issues of succession in his neighborhood taking one side or the other. In 1865, Mir Jahandar Shah sent his ambassador Syed Muhammad to the British Commissioner in Peshawar to establish friendly relations. However, peace would not last long as Dost Muhammad Khan died and his sons began to fight for the throne. eventually Mir Jahandar Shah was forced to take the side of Sher Ali Khan and Muhammad Azam Khan (who was now married to Mir Jahandar Shah's daughter as well). But Mohammad Afzal Khan would secure Kabul forcing Sher Ali Khan to retreat to Herat. Mir Jahandar Shah would hand over his allies to Mohammad Afzal Khan this angered Sher Ali Khan and his deputy in Akhcha, Faiz Muhammad Khan who went into battle at Gulaugan against Mir Jahandar Shah and defeated him. After flight of Mir Jahandar Shah the country was divided. Mir Jahandar Shah seeks refuge in Kabul where he is restored a year afterwards to his ancestral throne by the influence of Abdur Rahman Khan son of the Mohammad Afzal Khan and by his popularity. His rival Mahmud Shah leaves without a struggle in October 1868. Mir Jahandar Shah of Badakhshan never asked forgiveness for hostilities to Amir Sher Ali Khan with Azam Khan and failed to wait on Governor of Balkh at Takhtapul. Sher Ali in October 1869 invited Mizrad Shah, Muhammad Shah and Ibrahim, deposed chiefs of Badakhshan and restored them. Mir Jahandar Shah fled to Kulab. In December 1869, Mir Jahandar Shah left camp of Emir of Bukhara in Kulab and attacked Badakhshan and burned fort Zang Kila.