Man jailed for two years for uttering abusive language, making threats