The Ottoman legal system accepted the religious law over its subjects. What was religious law known as