The original inhabitants of Tirah were the Tirahis, who were driven out of the country by Pir Roshan; and a remnant of them fled to Nangrahar. Soon afterwards, in 1619 or 1620, Mahabat Khan, Subahdar of Kabul under the emperor Jahangir, treacherously massacred 300 Daulatzai Orakzai, who were Roshania converts; and, during his absence on a visit to Jahangir at Rohtas, Ghairat Khan was sent with a large force via Kohat to invade Tirah. He advanced to the foot of the Sampagha pass, which was held by the Roshanias under Ihdad and the Daulatzai under Malik Tor.