AN AYR stalker has been slammed by a judge for making his ex-wife’s life a misery after ignoring her increasingly desperate pleas to leave her in peace.

A court hearing was told how on one occasion Kevin McGee’s former partner locked herself in her car when she saw him walking towards her.

McGee was ordered to stay away from his former partner for the next two years after he confessed to a seven-month campaign of harassment earlier this year.

But the 45-year-old was spared a prison sentence for his “controlling and abusive” behaviour towards her.

Details of McGee’s frightening conduct were disclosed when the Campbell Court resident appeared for sentencing at Ayr Sheriff Court.

McGee had previously pleaded guilty to a course of behaviour that caused his ex fear and alarm between January 14 and July 14.

He admitted refusing to stop sending her unwanted messages by phone and on social media, and repeatedly texted their children to find out where the woman was and who she was with.

He also turned up at places where he knew she would be – including on one occasion when his ex locked herself in her car to avoid speaking to him.

The procurator fiscal depute explained that McGee and his victim were separated at the time after a relationship that had lasted 17 years.

The court heard his campaign of harassment started with a WhatsApp message on January 14, “proclaiming his love for her and his desire to get back together”.

McGee’s ex said he was only to contact her for the children, but more messages were sent on January 15, 17 and 18.

His messages included “you’re my wife, I love you, I’m getting you back”, “you don’t know how good that was just to see you there” and “I just want to get together again as a family, you’re blocking it at every turn”.

McGee also sent his victim messages accusing her of cheating.

On January 22 he messaged her to say “you any plans, I can see you in the morning, I’m telling you now we’re getting back together”.

The court heard the woman then saw messages from McGee to their children asking about her and what she had been doing.

At this point she contacted police, who advised her to stop contact and to block him on all social media platforms.

But on January 27, the woman saw McGee driving past as she was collecting her son – and that the following day, the son received a Facebook message from McGee saying “don’t forget to tell my wife I love her to bits” and “I’m going to fight tooth and nail to win my wife back”.

The court was then told that on February 6, the woman was on her phone in a car park when she saw McGee walking towards her – at which point she got in her car, locked the door and refused to open the window even slightly.

McGee told her “you don’t need to run away”, but the woman felt intimidated and told him to “f*** off”.

Further texts or emails followed on February 18 and 23, and then, on March 13, the woman went to her son’s football game, having been advised McGee would not be there.

But five minutes after the game started, McGee showed up and stood directly by the exit, making the woman fearful.

Then, on July 13, the victim received a bank transfer from McGee and a number of messages, one of which stated “to my sexy wee wifey”.

The woman then provided police with a statement, and officers went to McGee’s home in August, after which he was interviewed in connection with a report of stalking.

Hugh Duncan, defending, said McGee was now in a new relationship and remained in contact with his children.

Sheriff Leslie told McGee: “You were repeatedly told to stop contact, and you simply refused to do that.

“There was no ambivalence. No dubiety. You were told to stay away, and repeatedly got in touch.

“She tried blocking you; you found ways round that.

“There was no reason to think she was going to get back to you. No reason at all.

“You wanted some control of her life, and that’s abusive behaviour.

“This can’t go unpunished. You made this girl’s life miserable.

“What must your kids think about this? What must your kids think about you?”

McGee was put on a community payback order with 18 months of social work supervision and ordered to complete 150 hours of unpaid work.

A non-harassment order was imposed forbidding any contact with his ex until December 2025.