About the early history of this vast and complicated subject and its implications it is impossible to speak with assurance. Once the rules of caste were written down, they appeared as a hard and solid structure, incapable of variation. Yet this did not happen until caste had been in existence for hundreds of years, during which it was still flexible and evolving. Its root appears to be a recognition of the fundamental class divisions of a settled agricultural society, a warrior-aristocracy (kshatriyas), priestly brahmans and the ordinary peasant-farmers (vaishyas). These are the earliest divisions of Aryan society which can be observed and seem not to have been exclusive; movement between them was possible. The only unleapable barrier in early times seems to have been that between non-Aryans and Aryans; one of the words used to denote the aboriginal inhabitants of India by Aryans was dasa, which came eventually to denote ‘slave’. To the occupational categories was soon added a fourth category for non-Aryans. Clearly it rested on a wish to preserve racial integrity. These were the shudras, or ‘unclean’, who might not study or hear the Vedic hymns.
This structure has been elaborated almost ever since. Further divisions and sub-divisions appeared as society became more complex and movements within the original threefold structure took place. In this the brahmans, the highest class, played a crucial role. Landowners and merchants came to be distinguished from farmers; the first were called vaishyas, and shudras became cultivators. Marriage and eating taboos were codified. This process gradually led to the appearance of the caste system as we know it. A vast number of castes and sub-castes slowly inserted themselves into the system. Their obligations and demands eventually became a primary regulator of Indian society, perhaps the only significant one in many Indians’ lives. By modern times there were thousands of jatis – local castes with members restricted to marrying within them, eating only food cooked by fellow members, and obeying their regulations. Usually, too, a caste limited those who belonged to it to the practice of one craft or profession. For this reason (as well as because of the traditional ties of tribe, family and locality and the distribution of wealth) the structure of power in Indian society right down to the present day has had much more to it than formal political institutions and central authority.
In early times Aryan tribal society threw up kings, who emerged, no doubt, because of military skill. Gradually, some of them acquired something like divine sanction, though this must always have depended on a nice balance of relations with the brahman caste. But this was not the only political pattern. Not all Aryans accepted this evolution. By about 600 BC, when some of the detail of early Indian political history at last begins to be dimly discernible through a mass of legend and myth, two sorts of political communities can be discerned, one non-monarchical, tending to survive in the hilly north, and one monarchical, established in the Ganges valley. This reflected centuries of steady pressure by the Aryans towards the east and south, during which peaceful settlement and intermarriage seem to have played as big a part as conquest. Gradually, during this era, the centre of gravity of Aryan India had shifted from the Punjab to the Ganges valley as Aryan culture was adopted by the peoples already there.
As we emerge from the twilight zone of the Vedic kingdoms, it is clear that they established something like a cultural unity in northern India. The Ganges valley was by the seventh century BC the great centre of Indian population. It may be that the cultivation of rice made this possible. A second age of Indian cities began there, the first of them market-places and centres of manufacture, to judge by the way they brought together specialized craftsmen. The great plains, together with the development of armies on a larger and better-equipped scale (we hear of the use of elephants), favoured the consolidation of larger political units. At the end of the seventh century BC, northern India was organized in sixteen kingdoms, though how this happened and how they were related to one another is still hard to disentangle from their mythology. None the less, the existence of coinage and the beginnings of writing make it likely that they had governments of growing solidity and regularity.