A man has been given a restraining order after stalking his ex-girlfriend.
A court heard Connor McCormack, from Brompton-on-Swale, “constantly” telephoned and messaged the woman and on one occasion during the six-month harassment campaign he followed her in his car.
York Magistrates’ Court heard that the stalking began after the pair split up.
McCormack, of Honey Pot Road, appeared for sentence on Friday after he admitted stalking and breaching a non-molestation order.
The offences occurred between May and November last year.
McCormack was said to have followed the victim in his car trying to stop her in the main road, but she got away and called police.
He breached the non-molestation order by sending her messages on a mobile messenger app.
McCormack received a two-year community order and a 24-month restraining order banning him from contacting or approaching the victim and prohibiting him from entering the road in Richmond where she lived.
He was ordered to carry out 80 hours’ unpaid work and engage in a rehabilitation programme of up to 25 days.
In addition, he was ordered to pay £85 prosecution costs and a £95 surcharge to fund victim services.