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.
After the death of Gujarat Sultan Qutb-ud-dín Ahmad Shah II, the nobles raised his uncle Daud, son of Ahmad Shah I to the throne. He reigned over the Gujarat Sultanate from few days in 1458 CE.
The major objective of Ghori to attack India was to expand his empire and satisfy his imperialistic ambitions. The expansion of Islam and his ambition to glorify his name through his military exploits could be said to be his secondary aims. Similarly, loot and plunder may also be secondary aims because that was norm in those days to acquire Gold and wealth from defeated rulers.