Legal framework and justice system