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.
The Mughal emperor Akbar died of dysentery in 1605 A.D. and was buried at Sikandra. Akbar was disliked for his political ideology by Shaikh Ahmad Sirhindi who was a Sufi leader.