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.
Mubarak Shah was the second ruler of the Sayyid dynasty which ruled the Delhi Sultanate after the fall of the Tughlaq dynasty. He succeeded his father, Khizr Khan to the throne in 1421 CE.