There are four official levels, or varnas, of the Hindu caste system. The caste system is quite ancient and may have existed in some form as early as four thousand years ago. The highest class is the Brahmins, followed by the Kshatriyas, then the Vaishyas, and finally the Shudras.
They are many crimes that the poor people did, but the most common one was that the poor people use to steal things from the factory that led them to be jailed in the prison and use to get whipped and caned until they bled.