YĀR MUHAMMAD KHĀN (d. 1829), the Bārakzaī ruler of Peshāwar. In November 1818, Raṇjīt Siṅgh seized the city from him and placed it in the charge of Jahāṅdād Khān, another of the Bārakzaī brothers, but no sooner did Raṇjīt Siṅgh return to Lahore than Yār Muhammad Khān emerged from his hiding, expelled Jahāṅdād Khān and resumed control of Peshāwar. In June 1822, Yār Muhammad Khān agreed to become a tributary of Raṇjīt Siṅgh but soon thereafter Muhammad Azīm Khān, the Kābul Wazīr, expelled him from Peshāwar. Raṇjīt Siṅgh defeated the Kābul Wazīr in the battle of Naushehrā on 14 March 1823, and installed Yār Muhammad Khān, governor of Peshāwar. Shortly afterwards, Sayyid Ahmad Barelavī proclaimed a holy war against the Sikhs, Yār Muhammad Khān joining hands with him. A battle was fought between the Ghāzīs and the Sikhs on 21 December 1826, at Akoṛā, 18 km from Attock, across the River Indus. The Ghāzīs were repulsed and Peshāwar was reoccupied. Yār Muhammad was pardoned and restored to his old position. Sayyid Ahmad again attacked Peshāwar in 1829 and Yār Muhammad was killed in action.
Harī Rām Gupta