A bit dated, but I was struck by the parallels.
http://www.marxists.org/archive/marx/works/1857/afghanistan/index.htm"The Afghans are a brave, hardy, and independent race; they follow pastoral or agricultural occupations only, eschewing trade and commerce, which they contemptuously resign to Hindus, and to other inhabitants of towns. With them, war is an excitement and relief from the monotonous occupation of industrial pursuits.
"The Afghans are divided into clans<41>, over which the various chiefs exercise a sort of feudal supremacy. Their indomitable hatred of rule, and their love of individual independence, alone prevents their becoming a powerful nation; but this very irregularity and uncertainty of action makes them dangerous neighbours, liable to be blown about by the wind of caprice, or to be stirred up by political intriguers, who artfully excite their passions. The two principal tribes are the Dooranees and Ghilgies, who are always at feud with each other. The Dooranee is the more powerful; and in virtue of their supremacy their ameer or khan made himself king of Afghanistan. He has a revenue of about £10,000,000. His authority is supreme only in his tribe. The military contingents are chiefly furnished by the Dooranees; the rest of the army is supplied either by the other clans, or by military adventurers who enlist into the service in hopes of pay or plunder. Justice in the towns is administered by cadis, but the Afghans rarely resort to law. Their khans have the right of punishment even to the extent of life or death. Avenging of blood is a family duty; nevertheless, they are said to be a liberal and generous people when unprovoked, and the rights of hospitality are so sacred that a deadly enemy who eats bread and salt, obtained even by stratagem, is sacred from revenge, and may even claim the protection of his host against all other danger. In religion they are Mohammedans, and of the Soonee sect; but they are not bigoted, and alliances between Sheeahs and Soonees<42> are by no means uncommon."
...
"The conquest of Afghanistan seemed accomplished, and a considerable portion of the troops was sent back. But the Afghans were noways content to be ruled by the Feringhee Kaffirs (European infidels), and during the whole of 1840 and ’41, insurrection followed on insurrection in every part of the country. The Anglo-Indian troops had to be constantly on the move. Yet, McNaghten declared this to be the normal state of Afghan society, and wrote home that every thing went on well, and Shah Soojah’s power was taking root. In vain were the warnings of the military officers and the other political agents. Dost Mohammed had surrendered to the British in October, 1840, and was sent to India; every insurrection during the summer of ’41 was successfully repressed, and toward October, McNaghten, nominated governor of Bombay, intended leaving with another body of troops for India. But then the storm broke out. The occupation of Afghanistan cost the Indian treasury £1,250,000 per annum: 16,000 troops, Anglo-Indian, and Shah Soojah’s, had to be paid in Afghanistan; 3,000 more lay in Sinde, and the Bolan Pass; Shah Soojah’s regal splendours, the salaries of his functionaries, and all expenses of his court and government, were paid by the Indian treasury, and finally, the Afghan chiefs were subsidized, or rather bribed, from the same source, in order to keep them out of mischief. McNaghten was informed of the impossibility of going on at this rate of spending money. He attempted retrenchment, but the only possible way to enforce it was to cut down the allowances of the chiefs. The very day he attempted this, the chiefs formed a conspiracy for the extermination of the British, and thus McNaghten himself was the means of bringing about the concentration of those insurrectionary forces, which hitherto had struggled against the invaders singly, and without unity or concert; though it is certain, too, that by this time the hatred of British dominion among the Afghans had reached the highest point.
"The English in Kabul were commanded by Gen. Elphinstone, a gouty, irresolute, completely helpless old man, whose orders constantly contradicted each other. The troops occupied a sort of fortified camp, which was so extensive that the garrison was scarcely sufficient to man the ramparts, much less to detach bodies to act in the field."
And later:
"After some minor engagements, he defeated a large body of Afghans, Aug. 30, took possession of Ghuznee, which had been abandoned by the enemy, Sept. 6, destroyed the works and town, again defeated the Afghans in the strong position of Alydan, and, Sept. 17, arrived near Kabul, where Pollock at once established his communication with him. Shah Soojah had, long before, been murdered by some of the chiefs, and since then no regular government had existed in Afghanistan; nominally, Futteh Jung, his son, was king. Pollock despatched a body of cavalry after the Kabul prisoners, but these had succeeded in bribing their guard, and met him on the road. As a mark of vengeance, the bazaar of Kabul was destroyed, on which occasion the soldiers plundered part of the town and massacred many inhabitants. Oct. 12, the British left Kabul and marched by Jelalabad and Peshawer to India. Futteh Jung, despairing of his position, followed them. Dost Mohammed was now dismissed from captivity, and returned to his kingdom. Thus ended the attempt of the British to set up a prince of their own making in Afghanistan."