A 14-year-old boy will appear in court charged with attempting to obtain a gun and ammunition.
The child was detained in a police operation at the Riverside retail park, in Coleraine, Northern Ireland, on Thursday morning.
After more than 24 hours in custody in the Co Londonderry town's police station, the youth was charged with attempting to possess a firearm and ammunition with intent to endanger life.
Officers from the Police Service of Northern Ireland's reactive and organised crime branch were involved in the swoop.
The teenager is due to appear in court in Ballymena, Co Antrim, on Saturday morning.