The 16-year-old was detained in pre-trial detention after being indicted for attempting a terrorist attack.