A murder accused phoned the emergency services and confessed he had killed his ex-fiance, a court has heard.

Frazer Neil, who is alleged to have murdered Hannah Dorans, was recorded saying "I've killed her".

The 25-year-old repeatedly said to the call handler "I didn't mean to do it" and claimed he was going to take his own life.

Neil, of Stevenson Avenue, Edinburgh, is on trial at the High Court in Glasgow accused of raping and murdering 21-year-old Ms Dorans at a flat on Hutchison Road, Edinburgh, on February 11, 2017.

It is alleged that he raped Ms Dorans, then strangled her with a cord or similar ligature.

He is also accused of behaving in a threatening or abusive manner towards Ms Dorans by sending her abusive messages, monitoring her online access and taking her bank card away from her and remove £1000 from her bank account.

Neil is further alleged to have caused alarm and distress to Ms Doran's parents by sending a message on Facebook to them two weeks after her death.

Retired sergeant, Martin White, 53, was on duty on February 11 when the 999 call was made.

He said the call was initially taken by a call-handler then passed to him, and a recording of the call was played to the court.

A man told the call handler "I didn't mean to do it, I didn't mean to do it" and gave the name Frazer Neil.

He said "I've killed her" and when asked who he had killed, said "my ex fiance".

Mr White confirmed in evidence the point the call was passed to him and during the call he was told Neil had already stabbed himself, before he hung up.

PC Gary Stout later gave evidence that he and a colleague were the first at the scene and the door to the flat was unlocked.

He said he could hear what he thought was "a male crying" coming from the bathroom but the door was locked.

PC Stout told the court he found Ms Dorans in the bedroom with what he thought was a dressing gown cord round her neck, and that he performed CPR until paramedics arrived.

Defence QC Brian McConnachie asked: "Are you familiar with either the book or the film called Fifty Shades of Grey?" PC Stout said he had heart of it.

Mr McConnachie continued: "From your understanding of that, is it a book and indeed a film which in some way demonstrated sexual asphyxiation, amongst other things?"

PC Stout replied: "From my understanding, it's a powerful male with some sort of controlling mechanism over the female."

Neil denies the charges and the trial, before judge Lady Scott QC, continues.