A group of South Sudanese women in Khartoum, Sudan were arrested for wearing pants, according to the BBC on Sunday. The 24 women were charged with indecency.

The women were caught at a party near the Sudanese capital of Khartoum on Wednesday. Sudanese law prevents people from wearing “an obscene outfit” or “causing an annoyance to public feelings.”
Women wearing trousers is considered an obscene outfit and lawbreakers face a punishment of 40 lashes and a fine, according to the BBC.

Critics of Sudanese law which borrows heavily from Muslim customs say that the laws can be applied arbitrarily, that they discriminate against Christians and that they affect tens of thousands of women each year who are arrested and flogged.

Human rights group Amnesty International has criticized the laws in the past.