The Third Battle of Panipat was fought in 1761 between the Maratha Confederacy and the Durrani Empire led by Ahmed Shah Abdali. Ibrahim Lodi was defeated by Babur in the First Battle of Panipat in 1526. Tipu Sultan was killed in the Fourth Anglo- Mysore War in 1799, not the Third. The Battle of Plassey (1757) saw Mir Jafar, the commander of Nawab Siraj-ud-Daulah's army, betray the Nawab and conspire with the British East India Company, leading to the Nawab's defeat.