In 1936, however, the new system was made permanent and the religious courts were abolished.[6] However, there were still sharia courts that ruled on issues of family and inheritance up to the Islamic Revolution (working alongside secular ones). Some aspects of sharia law were also unofficially retained in criminal law, for example compensation was still unofficially given in a similar manner to blood money, in exchange for pardoning a murder death sentence in some cases.