A 28-year-old man faces more than three years in prison after admitting to threatening law enforcement officers.