A man bailed after threatening to "plug" a police officer was later found carrying a machete in a Hamilton street during his curfew hours.
Robert Mitchell was jailed for two years at Hamilton Sheriff Court this week.
The 33-year-old admitted possessing a bladed item in Bothwell Street on April 6, breaching a bail curfew and giving police a false name.