The Youth and Criminal Justice Act was passed by parliament to