The kshatriyas, the warrior class in ancient india, were responsible for protecting the kingdom and maintaining law and order.