Sheena Watters stabbed and battered Alistair Green
A woman is facing a lengthy prison term for stabbing her friend and battering him with a candle holder.
Sheena Watters, 46, carried out the apparently motiveless attack at 54-year-old Alistair Green's home in Irvine, North Ayrshire, in February.
Watters initially denied the attack but later admitted assaulting Mr Green to the danger of his life.
At the High Court in Glasgow, judge Lord Turnbull deferred sentence on Watters and remanded her in custody.
The court heard that Watters and Mr Green had known each other for decades and often spent time together.
Mr Green had been at his home, where he lived with his dog, on 16 February when Watters visited.
The court heard how he was later sitting on the couch when his friend "just flipped".
Prosecutor Angela Gray said "nothing untoward" had happened before this - but Watters started smacking Mr Green with a metal candlestick holder.
As Watters continued the battering, she then grabbed a knife and repeatedly lashed out with the blade.
Ms Gray said Mr Green was in "total shock" before he eventually passed out.
The victim later woke up with his attacker still in his house. The court heard Watters then dialled 999.
Prosecutor Ms Gray went on: "She said she did not know what happened...she suggested that she had just arrived."
Watters told the 999 operator that Mr Green's face was "totally done" and that she believed he was dying.
Paramedics soon arrived and they noticed Watters' clothes were blood-stained. However, she claimed this was due to cuddling Mr Green when she found him.
When police called they decided to detain Watters despite her claims. Mr Green then revealed who was responsible for the attack.
The court heard Mr Green required three hours of surgery to repair his injuries - some of which were life threatening.
The victim - who is now scarred for life - suffered several fractures as well as multiple cuts and wounds.
Medics said one blow to his cheek was of such force that, had it been closer, it could have caused brain damage.