Dost Mohammad Khan was born to an influential
Pashtun family on 23 December 1792 in
Kandahar,
Durrani Empire. His father,
Payandah Khan, was chief of the
Barakzai tribe and a civil servant in the
Durrani dynasty. Their family could be traced back to Abdal (the founder of the
Abdali tribe), through Hajji Jamal Khan, Yousef, Yaru, Mohammad, Omar Khan, Khisar Khan, Ismail, Nek, Daru, Saifal, and Barak. Abdal had four sons,
Popal,
Barak,
Achak and
Alako. Dost Mohammad Khan's mother belonged to the
Qizilbash group. Dost Mohammad Khan spoke
Pashto,
Persian,
Punjabi and
Turkish. He was also credited with knowledge of
Kashmiri by
Mohan Lal. His elder brother, the chief of the Barakzai,
Fateh Khan, took an important part in installing
Mahmud Shah Durrani as the sovereign of Afghanistan in 1800 and in restoring him to the throne in 1809. Dost Mohammad accompanied his elder brother and then Prime Minister of Kabul Wazir Fateh Khan to the
Battle of Attock against the invading
Sikhs. Mahmud Shah repaid Fateh Khan's services by having him brutally assassinated in 1818, thus incurring the enmity of his tribe. After a bloody conflict, Mahmud Shah was deprived of all his possessions but
Herat, the rest of his dominions being divided among Fateh Khan's brothers. Of these, Dost Mohammad received
Ghazni, to which in 1826 he added
Kabul, the richest of the Afghan provinces. At the time of his enthronement, his government revenue was about 500,000 rupees, and by the 1830s it had increased to 2.5 million rupees. From the commencement of his reign he found himself involved in disputes with
Ranjit Singh, the Sikh ruler of the
Punjab region, who used the dethroned
Sadozai prince,
Shah Shujah Durrani, as his instrument. In 1834, Shah Shujah made an attempt to recover his kingdom. Dost Mohammad Khan mobilized for this, beginning initially with the
Jalalabad campaign, and then marching on Kandahar, where Shah Shuja
was defeated by Dost Mohammad Khan under the walls of
Kandahar, but Ranjit Singh seized the opportunity to annex
Peshawar which was ruled by the Peshawar Sardars under his deposed brother,
Sultan Mohammad Khan. Dost Mohammad sent his son
Akbar Khan to defeat the Sikhs at the
Battle of Jamrud in 1837. == European influence in Afghanistan ==