Muslim law was used for criminal cases.