.jpg)
A Douglas man charged with harassment has been warned he will spend Christmas in prison if he doesn't behave.
Paul Hamblett, of Port-e-Chee Avenue, admitted committing the offence between April last year and September this year.
The court heard that since the breakdown of a relationship Hamblett had regularly contacted his former partner, despite repeated requests from her to stop.
After being cautioned in June, he made abusive comments to the woman in a pub in September.
Hamblett has been bailed to appear in court again on January 12, on the condition he does not contact her directly or indirectly.

Commissioner 'steps away' from local authority work temporarily
New MHKs need to talk to the public more, says commentator
No prosecutions despite food hygiene recorded breaches
Inquest opens into 12-year-old's death