A man has been banned from contacting his ex after stalking her.
Mohammed Khan, of Huddersfield Road in Dewsbury, appeared at Kirklees Magistrates’ Court.
He had pleaded guilty to stalking Hayley Ambler between February 2015 and February this year.
The 28-year-old used a listening device to monitor the mother of his two children and made distressing calls to her.
District Judge Hales made a restraining order banning Khan from contacting his ex for four years.
He must also complete 15 days of rehabilitation activities as part of a community order.
Khan was ordered to pay £85 costs and £60 victim surcharge.