Bakshi was appointed by the imperial court at the recommendation of the Mir Bakshi. Bakshi was responsible for checking and inspecting the horses and soldiers which were maintained by the mansabdars in the suba.
It is believed that Babur was invited to fight against Ibrahim Lodhi by Daulat Khan Lodhi , the Governor of Punjab, AlamKhan, the uncle of Ibrahim Lodhi, and Rana Sanga of Mewar.