Sentenced after threatening nurses