Barani was a contemporary of Muhammad bin Tughlaq and Firuz Shah Tughlaq both. He wrote a number of renowned texts, such as the Fatwa-i-Jahandari, which elaborates on the principles to be followed by Muslim rulers to attain merit.
Battle of Chausa was fought near Buxar. Humayun was badly defeated and Sher Khan adopted the title of Sher Shah. Humayun barely escaped with his life from the battle field.