In 712 A.D. Hajjaj bin Yusuf Saqafi despatched Muhammad bin Qasim at the head of an expeditionary force to punish Dahir of Sind. That Hindu Raja had shown recalcitrance and behaved with impunity when warned not to neglect the safe passage of Hajis along the coastal strip of his territories. The young arab general won the first Muslim foothold on the Subcontinent. But it was a long time before torrent after torrent of Muslim conquerors from Afghanistan and Central Asia swept down the passes of the North-West Frontier. Thus, established Muslim rule in the Subcontinent continued in varying power and glory for about a thousand years. For in 1707 A.D. when Aurangzeb died, almost all India was under Muslim sway. Early in the seventeenth century the British came to the Subcontinent by sea, appearing as merchants, and, favoured by Mughal generosity, they established trading posts mostly on and near the western coasts. A century and a half later they were in the thick of the power struggle