Babur first established himself in Kabul in 1504 A.D. and then pushed steadily southward into India from Afghanistanthrough the Khyber Pass. Later he successfully captured Bhira, Sialkot, and Lahore in Punjab.
Firoz led a campaign against Jajnagar and looted a lot of booty from temples such as the Puri Jagannath temple. He also marched against Nagarkot and made its ruler pay him tributes. During this campaign, the Sultan collected 1300 Sanskrit manuscripts from the Jawalamukhi temple library.