The first is from the sharia law, the second - from the Russian XVII-XVIII century's law (plus nose cut off and exile to Siberia).
INDIA. They had a caste system. I learned that in 54 or 55 in grade school