Jahandad Khan agreed to hand over the fort of Attock, in exchange for a jagir of three lakhs from the Mughals.