After Sher Shah Suri conquered malwa from Qadir shah, he appointed Shujaat Khan as the governor. His son, Baz Bahadur, declared himself independent in 1555 CE. Baz Bahadur was the last sultan of Malwa.
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.