until the 1700s, sharia law was the main legal system throughout the muslim world. in some muslim countries such as saudi arabia and iran, the whole legal systems still base their law on sharia law. islamic law is often criticised because it often has harsh penalties for crimes. a serious criticism is the judgement of the european court that "sharia is incompatible with the fundamental principles of democracy".