Barakzai dynasty
Emir Dost Mohammad Khan Barakzai (Pashto/Dari: ; December 23, 1793June 9, 1863), nicknamed the Amir-i Kabir, was the founder of the Barakzai dynasty and one of the prominent rulers of Afghanistan during the First Anglo-Afghan War. With the decline of the Durrani dynasty, he became the Emir of Afghanistan in 1823. He was the 11th son of Payendah Khan, chief of the Barakzai Pashtuns, who was killed in 1799 by King Zaman Shah Durrani. At the beginning of his rule, the Afghans lost their former stronghold of Peshawar Valley in March 1823 to the Sikh Khalsa Army of Ranjit Singh at the Battle of Nowshera. The Afghan forces in the battle were led by Azim Khan, half-brother of Dost Mohammad Khan.