Proving harassment to secure a conviction the defendant has pursued a course of conduct. the course of conduct amounted to harassment of another person. the defendant knew or ought to have known that the course of conduct amounted to harassment.