The main combatants in the battle were the Maratha Confederacy and the Durrani Empire.