The Third Battle of Panipat in 1761 was fought between the Maratha Empire and the Afghan invader Ahmad Shah Abdali. It was a catastrophic defeat for the Marathas that ended their dominance in northern India. The British weren't involved at this stage, and Akbar fought Hemu at the Second Battle of Panipat (1556).