A masked woman who burst into a couple's home and attacked them with a knife has been jailed for three years and seven months.

The High Court in Glasgow heard that Louise McGhee, 35, from Cumnock, was caught because her victims, Steven and Sheila Donaldson, recognised her voice.

The accused, who was with an unknown accomplice, had a hat over her eyes and the hood of her jacket pulled tight over her face during the attack.

The court heard on Monday that the accused swung her knife towards Mr Donaldson and said: "This is for what your man done to my husband."

This was a reference to her partner James Wallace, who had died of a drugs overdose six months earlier.

Prosecutor Greg Farrell said: "The Donaldsons have known the accused for a number of years and recognised her voice straight away."

Mr Donaldson grabbed the blade of the knife and suffered cuts to his hand.

His wife grabbed the unknown man's wrist to stop him striking her husband and was pushed into the kitchen door frame.

McGhee, who has 74 previous convictions mostly for dishonesty, admitted assaulting Mr Donaldson to his severe injury and permanent disfigurement and forcing entry to his home in Barshare Road, Cumnock, Ayrshire, on June 3 and assaulting him and his wife.

Defence counsel Victoria Young said: "Miss McGhee has no memory of this incident whatsoever. She has been a drug user since she was 14.

"She says she does not hold the Donaldsons in any way responsible for her partner's death."

McGhee was out on licence at the time and has been ordered her to serve the unexpired five months of that sentence before she begins her new one.

Judge Lord Burns told McGhee: "You must have pre-planned this.

"You had an accomplice, you masked your face, got weapons and targeted their house."