Babur, a Timurid (and later Mughal) ruler from Fergana (in present-day Uzbekistan) who captured Kabul in 1504, launched this assault with the purpose of solidifying his authority in the Kabulistan.
After capturing the Fort of Bajaur, Babur massacred at least 3,000 Bajauris, and set up a tower of their skulls, charging them of being "false to Islam."
From 1515-19, Babur enjoyed a relatively calm period when he returned to Kabul in the aftermath of his defeat at the Battle of Ghazdewan and loss of Transoxiana to the Khanate of Bukhara.
Babur further claimed that Haidar Ali Gaberi, the Swati Jahangiri Sultan of Bajaur, did not weep or lament when his mother died, but instead said: "Go!
At Khwāja Kalān’s request the prisoners remaining were pardoned their offences, reunited to their wives and children, and given leave to go, but several sultans and of the most stubborn were made to reach their doom of death.
"[2] Babur was unable to advance into India safely without conciliating the neighbouring Yusufzai which sat on the strategic hills which threatened his empire.