legal background