In 1839, the citadel was the site of the battle of Ghazni during the first Anglo-Afghan war when the British troops stormed and captured the citadel. It saw further violence during later decades of wars.