Monarchy in ancient India was a sovereignty over a territory by a King who functioned as its protector, a role which involved both secular and religious power. The meaning and significance of kingship changed dramatically between the Vedic and Later Vedic period, and underwent further development under the times of the Jain and Buddhist rulers. Although there is evidence that kingship was not always hereditary during the Vedic and into the Later Vedic period, by the time of composition of the literature, traces of elective kingship had already begun to disappear.
Kingship and the Vedas
Vedic ideas about the establishment of the office of king ultimately draw upon legends about the coronation of one god as king of all others. Legends abound as to which of the gods won this position; In the , Indra, Agni, Soma, Yama, and are all addressed as "King." Indeed, kingship in the largely manifests only in the form of gods as kings. Hymns directly addressed to earthly kings, like 10.173-10.175, are the exception rather than the rule. In these hymns, the king is said to have been "established" by Indra and "made victorious" by Soma and . Although this implies a close dependence of the king upon the gods, the rarity of the figure of the human king in the agrees with the idea that kings at this time were basically on a level with tribal chiefs and were not viewed as divine. There is a provocative line at 10.124.8 which mentions people electing their king, and 3.4.2 in the Atharvaveda seems to confirm this. Also, several hymns in the demonstrate the importance of the samiti (10.166.4, 10.191), the governing assembly, further indicating that the early Vedic king ruled in a tribal setting where decision making by assembly still played a major role.
As was stated above, the king was not considered divine in the early Vedic period. By the time the were composed, however, the king was increasingly associated with the gods through his qualities and the rituals he performed. Also by this time, kingship had transitioned to a hereditary position and the samiti began to wane in importance.
Dharma and the King
Prior to the Vedas, the formation of a military fraternity governing the local population happened. As they became absorbed into the local population, political power within the society began to change from an inter-clan system in which various clans divided up responsibilities into a more Vedic-like system in which one ruler ruled over and provided for his subjects. In this new system first emerged the ideas of brahman and ksatra, or spiritual and temporal power, respectively. In order for the communal dharma to be achieved, the Brahmin had to correctly “instruct the others in their duties” and guide their spiritual practice; the Ksatriya, on the other hand, was invested with the “royal function” of maintaining obedience in accordance with dharma and thus ensuring that the proper practices were being executed. Given that the former decided on correct spiritual action while the later enforced it, an essential cooperation arose between the two in order to ensure the performance of dharma, and this cooperation formed “one of the fundamental elements in smriti’s theory of kingship”. This coincided with the development of the doctrine of the soul’s rebirth and potential release moksha from the cycle of continual rebirths known as samsara as exemplified by stories predating the some of the popular epics, such as the story of Vidula in which the warrior is emotionally roused to fulfill his duties as a warrior in the face of unpleasant adversity. According to this new philosophy, rulers are to “accept and fulfill [their] duty without ever desiring that which does not have enduring worth,” in other words, by not attaching themselves to their actions and thinking of only the end result of their action. Enabling, and if necessary enforcing everyone to behave this way, “leads finally to escape from karma” and thus achieves the spiritual goal of brahma, escape from the cycle of samsara.
As mentioned above, the best examples of this kind of detached devotion to duty by a king are seen in the epics of the Bhagavad Gita and the Ramayana.