The Criminal Justice and Licensing (Scotland) Act 2010 amended provision relating to non-harassment orders granted following a conviction for a criminal offence involving harassment, to enable the court to take account of previous convictions, and to remove the requirement for there to have been a ‘course of conduct’ of harassment in such circumstances.