The majority of the population were constituted of villagers and peasants (for example, today in Bali the three upper castes represent less than 6% of the population), thus forming an abundant manpower, which was either attached to the temples or to noble families.