SARATOGA SPRINGS, N.Y. (AP) — A 49-year-old Massachusetts man who admitted threatening a student at an upstate New York college has been sentenced to three months he's already served in jail and five years on probation.

Saratoga County District Attorney James A. Murphy III says Lance Leonard was sentenced Monday on the charge of first-degree coercion he pleaded guilty to in May.

Authorities said Leonard threatened to kill a Skidmore College student after she broke off a relationship with him. Officials locked down the campus for several hours because of the threat on March 5.

Authorities described Leonard at the time as a transient whose last known address was in Cuttyhunk, an island off the coast of Massachusetts.

Murphy says the court also ordered mental health treatment for Leonard.