Q. Who was the ruler of Delhi when Ahmad Shah Abdali defeated the Marathas in the third Battle of Panipat in 1761? Answer:
Shah Alam II
Notes: The Third Battle of Panipat was fought in 1761 between the Afghan invader Ahmad Shah Abdali and the Marathas. Ali Gauhar, better known as Shah Alam II (October 1760 – November 1806) was the Mughal Emperor then. He was installed on the throne of Delhi under the Maratha suzerainty.