 Afridi tribes resisted Mughal rule during the Afridi Revolt of the 1670s.The Afridis massacred a Mughal battalion in the nearby Khyber Pass in 1672 and shut the pass to lucrative trade routes.Mughal armies led by Emperor Aurangzeb himself regained control of the entire area in 1674.