There were three roles involved in farming during the time of the mahajanapadas. The grihapatis were the landowners. The other two, the dasas and the bhrtu kas, worked under the grihapatis. The dasas or slaves were captured during wars. The bhrtu kas were labourers who worked on the lands of a grihapati in exchange for wages.