YAR MUHAMMAD KHAN (d. 1829), the Barakzai ruler of Peshawar. In November 1818, Ranjit Singh seized the city from him and placed it in the charge of Jahandad Khan another of the Barakzai brothers, but no sooner did Ranjit Singh return to Lahore than Yar Muhammad Khan emerged from