A lovestruck man bombarded his ex with messages as he struggled to come to terms with the ending of their relationship.
Sean Parry left 140 voicemails and texts for Angela Fawcett - 60 in one day alone.
His actions forced Deputy District Judge David Scanlon to make a restraining order banning him from contacting her for two years.
He told the 58-year-old: “I’m five years older than you.
“If I was your age and sent somebody 140 texts over a three week period and was getting nothing back it’s going to drop the penny.”
Parry, of Firthcliffe Road in Liversedge pleaded guilty to harassment between August 11 and September 23 this year.
Kirklees Magistrates’ Court was told that he was upset following the end of his on/off nine year relationship with Ms Fawcett.
Andy Day, mitigating, said: “At the start they’d agreed that if they ever split up they would tell each other but she hadn’t told him.
“He started to message her but she didn’t respond.
“Then he wondered if her phone had broken, he was drinking heavily and became increasingly frustrated.
“It’s a very high number of messages and Mr Parry accepts that things went way beyond what he should have been doing.”
The Huddersfield court was told that Parry was particularly upset as he felt he’d made sacrifices for his ex and spent a lot of money on her.
Mr Day added that his client is now in a better place and accepts the fact that his relationship is over.
Judge Scanlon told Parry: “You’ve sat at home, had a drink and let the break up fester.
“If I’d been in your position I’d have got the message after 10 texts not 140.
“You don’t know how you’ve affected her when the phone rings and she gets another text.
“She may be thinking ‘is he going to come up and knock on my door?’ and ‘is he going to wait for me when I come out of work?’
“She’s not a possession, she’s a person.”
Judge Scanlon made a two year restraining order banning Parry from contacting Ms Fawcett or going to her address.
He will have to pay her £200 compensation and £100 fine.
Judge Scanlon also made him subject to a community order with 25 rehabilitation activity days, warning that he risks his liberty if he breaches the court order.