05/24/2013 03:45 EDT | Updated 07/24/2013 05:12 EDT

Teen accused of Facebook threats against central Alberta school released

RED DEER, Alta. - A teen accused of making Facebook threats to shoot students and staff at a central Alberta school has been granted release on several conditions.

An agreement between the Crown and defence puts the 16-year-old into the custody of his parents.

The prosecutor says it's a house arrest that minimizes risk to the community.

Last month, Red Deer city RCMP were alerted to a Facebook threat involving Lindsay Thurber High School.

The accused, who can't be named due to his age, is not allowed on any school premises unless he gets permission from school authorities.

He must remain at home except for probation appointments, counselling or to complete community service.

He cannot possess any weapons, firearms or ammunition.

Numerous charges are to be spoken to at his next court appearance scheduled for June 13.