Resistance emerged as peasants identified the colonial state as an enemy.