A former Torrey Pines High School student pleaded guilty Tuesday to posting threats targeting the school on his Instagram account and will spend a minimum of six months in a residential treatment facility.
Kevin Gregory Matlak, 21, will be sentenced Aug. 10 by Superior Court Judge Polly Shamoon. He pleaded guilty to one count of making a criminal threat.
Matlak will be placed on five years probation and sentenced to a year in custody, which he will be able to serve at the treatment facility.
RELATED: Former Student Arrested In Torrey Pines High School Threat
Shamoon told Matlak to become stable on his medications before he is sentenced and that everyone is worried about him.
"Nobody wins if you go to prison," Shamoon said.
Shamoon allowed Matlak's mother to give him a hug after the plea.
Classmates of Matlak who graduated in 2015 reported the threats to law enforcement on May 30, leading to his arrest.
Matlak bailed out of jail and voluntarily checked himself in to a lockdown mental health facility, defense attorney Brian Watkins said.
Watkins said Matlak didn't threaten anyone directly, but three former classmates read his posts on Instagram and felt threatened by them.
"I hate all of you," Matlak wrote in one post, according to Deputy District Attorney Matthew Greco.
"Get the (expletive) out of San Diego 2K18 before I find u," Matlak wrote in another post. He also posted a photo of an AR-15 rifle, Greco said.