ATTLEBORO, Mass. (AP) -- A jury has acquitted a North Attleborough High School student of threatening to shoot up his school.

Patrick Skrabec, who spent six days in jail over the Christmas holiday after his arrest in 2012 when he was 17, was found not guilty Thursday of threatening to commit a crime and disturbing a school assembly after a two-day trial and 45 minutes of jury deliberations.

Prosecutors say he made his comments in a math class in December 2012. He said it was a private joke between friends.

His lawyers say he had no access to guns, no history of discipline problems, and no criminal record.

The Sun Chronicle reports that his father, Neil Skrabec, said police and prosecutors should be "embarrassed and ashamed" for what they put the family through.