By Brad Segall

NEWTOWN, Pa. (CBS) — A 14-year-old Bucks County teenager who admitted that he planned to bring weapons to Council Rock High School South, in Northampton Township, last month and harm students and staff (see related story) is being sent to a secure treatment facility.

READ MORE: Alleged Shooter In Deadly Road Rage Shooting In Springfield In Custody, Sources Say

After his disposition hearing in front of a Bucks County judge, the teenager was ordered to spend time in the treatment facility.

Earlier this month, the boy admitted to charges of making terroristic threats and possession of a weapon by a minor (another related story).

Bucks County prosecutor Michelle Walsh says the placements are for indefinite periods of time, and that there are no mandatory or minimum sentences imposed.

READ MORE: Jennielee Hilario Will Attend Temple University To Study Fashion Journalism After Graduating As Valedictorian

“It will entail both the therapeutic needs that the juvenile needs, and also has the community protection served by having him in a facility such as this,” she tells KYW Newsradio.

At a minimum of six months, she says, the teenager can have a review hearing to assess how he’s doing in the program.

Walsh says the boy, whose name is not being disclosed because of his age, apologized in court for his conduct.  He was arrested last month after another student told a parent that the boy had verbally threatened students and staff at the school.

MORE NEWS: Police Investigating Deadly Motorcycle Crash On NJ Turnpike In Gloucester County