Question: Which dynasty was founded by Dost Mohammad Khan upon conquering Kabul during the Disaster in Afghanistan?

<P0-S0> The two branches of the Barakzai dynasty (Translation of Barakzai: sons of Barak) ruled modern day Afghanistan from 1826 to 1973 when the monarchy ended under Musahiban Mohammad Zahir Shah. <P0-S1>  The Barakzai dynasty was established by Dost Mohammad Khan after the Durrani dynasty of Ahmad Shah Durrani was removed from power. <P0-S2>  During this era, Afghanistan saw much of its territory lost to the British in the south and east, Persia in the west, and Russia in the north. <P0-S3>  There were also many conflicts within Afghanistan, including the three major Anglo-Afghan Wars and the 1929 civil war. <SEP> <P1-S0> The First Anglo-Afghan War (also known as Disaster in Afghanistan) was fought between British imperial India and the Emirate of Afghanistan from 1839 to 1842. <P1-S1>  The war is notorious for the loss of 4,500 British and Indian soldiers, plus 12,000 of their camp followers, to Afghan tribal fighters, but the British defeated the Afghans in the concluding engagement. <P1-S2>  Initially, the British successfully intervened in a succession dispute between emir Dost Mohammad (Barakzai) and former emir Shah Shujah (Durrani), whom they installed upon conquering Kabul in August 1839. <P1-S3>  However, in 1841 the Army of the Indus, numbering between 24,000 and 28,000 including families of soldiers, military and political pundits, suffered a series of defeats at the hands of rebel Afghan tribesmen. <P1-S4>  The main British Indian and Sikh force occupying Kabul, having endured harsh winters as well, was almost completely annihilated while retreating in January 1842. <P1-S5>  It was one of the first major conflicts during the Great Game, the 19th century competition for power and influence in Central Asia between Britain and Russia. <SEP> <P2-S0> Dost Mohammad Khan (Pashto: دوست محمد خان‎ , December 23, 1793June 9, 1863) was the founder of the Barakzai dynasty and one of the prominent rulers of Afghanistan during the First Anglo-Afghan War. <P2-S1>  With the decline of the Durrani dynasty, he became Emir of Afghanistan from 1826 to 1839 and then from 1843 to 1863. <P2-S2>  An ethnic Pashtun, he was the 11th son of Sardar Payendah Khan (chief of the Barakzai tribe) who was killed in 1799 by Zaman Shah Durrani. <P2-S3>  Dost Mohammad's grandfather was Hajji Jamal Khan. <SEP> <P3-S0> Mohammad Khan Ustajlu (d. 1514) was an early 16th-century Safavid military commander of Turkoman origin who served during the reign of king Ismail I (1501-1524). <P3-S1>  He played a pivotal role in Ismail I's conquests and expansion in Asia Minor and Mesopotamia. <P3-S2>  When Ismail I returned to Khoy, after some skirmishes with 'Ala' al-Dowleh, he appointed Mohammad Khan Ustajlu as the new governor ("beglarbeg") of Diyarbekir. <P3-S3>  Mohammad Khan Ustajlu was the son of Mirza Beg, the brother of Owlash Beg and the husband of one of king Ismail I's sisters. <P3-S4>  At the decisive Battle of Chaldiran (1514), Mohammad Khan Ustajlu was one of the two Safavid commanders, the other one being Nur-Ali Khalifa, who had first-hand experience with the Ottomans ways of warfare. <P3-S5>  Mohammad Khan, who counseled against a frontal attack, was rejected by both Durmish Khan Shamlu as well as by the king himself. <P3-S6>  Durmish Khan then attempted to put Mohammad Khan on his place, by the means of rude commentary. <P3-S7>  Subsequently, Durmish Khan made a completely different proposal for the Safavid attack compared to what both Mohammad Khan and Nur-Ali Khalifa had mentioned, which Ismail I surprisingly endorsed. <P3-S8>  Due to Durmish Khan's tactic, the center of the Ottoman army at Chaldiran remained intact, which included the janissaries and most of the artillery, and which was to be used with devastating effect. <P3-S9>  Mohammad Khan, who was in command of the left wing of the Safavid army, was killed, and his men fell in disarray.