An 18-year-old boy was taken into custody Wednesday on a charge of being an accessory to a felon.