If that's the case, then this is an issue of harassment, and in any civil society if you willingly target someone with negative actions or statements, consistantly and knowingly, that can be harassment.
However, does harassment warrant 18 months on a first conviction? I'm not a good judge..