The Tughlaq dynasty was a Muslim dynasty of Turko-Indian origin, which ruled over the Delhi sultanate in medieval India. Ghiyasuddin Tughlaq is considered to be the founder of the Tughlaq dynasty.
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.
Some of the causes of Ibrahim Lodhi’s defeat in First Battle of Panipat were: 1. Babur used Artillery in the battle and Indian soldiers were not familiar with the use of artillery.2. The army of Babur was better disciplined and fully trained and well equipped.3. The country was divided into petty states and small principalities.
The Third Battle of Panipat was fought between the Sadashivrao Bhau who was the Commander-in-chief of the Maratha Army and Vishwasrao, Malharrao Holkar, Ahmad Shah Durrani which was also called Ahmad Shah Abdali.