After Ranjit Singh's departure from the region, Khattak's rule was undermined and power seized by Yar Muhammad Khan. In 1823, Ranjit Singh returned to capture Peshawar, and was met by the armies of Azim Khan at Nowshera. Following the Sikh victory at the Battle of Nowshera, Ranjit Singh re-captured Peshawar. Rather than re-appointing Jehandad Khan of Khattak, Ranjit Singh selected Yar Muhammad Khan to once again rule the region.
After Ranjit Singh's departure from the region, Khattak's rule was undermined and power seized by Yar Muhammad Khan In 1823 Ranjit Singh returned to capture Peshawar, and was met by the armies of Azim Khan at Nowshera. Following the Sikh victory at the Battle of Nowshera, Ranjit Singh re-captured Peshawar. Rather than re-appointing Jehandad Khan of Khattak, Ranjit Singh selected Yar Muhammad Khan to once again rule the region.