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.
Ahmad Shah III was succeeded by Muhammad Shah III. He reigned for nearly 20 years. Through his extensive conquests he regained many lost territories, the most famous being his raid on Kanchipuram.