A former University of Maryland student who made online posts threatening a campus shooting rampage was sentenced to three years of supervised probation Thursday as he continues to receive court-directed mental health treatment.

Alexander Song, 19, had pleaded guilty in August to disturbing school operations and telephone misuse. He admitted he made postings online in March threatening a shooting rampage at the College Park campus.