The warrior class, the Kshatriyas, were expected to protect society and engage in warfare. They were also in charge of enforcing the law and keeping society in order. While some Kshatriyas may have worked in agriculture or trade, war was their primary occupation.