A man has admitted attempted murder after a stabbing.
Martin Jowitt, 50, formerly of formerly of Esther Grove, Lupset, pleaded guilty to trying to kill David Edwards on March 23.
An earlier court hearing was told how Mr Edwards was attacked with an ashtray and was then stabbed with a knife at Fulmar Road, Half Acres, Castleford. He was taken to hospital following the attack where he was treated for serious injuries.
Jowitt initially denied the charge but pleaded guilty shortly before he was due to stand trial at Leeds Crown Court on Monday.
Robin Frieze, defending, asked for sentencing to be adjourned for psychiatric reports to be prepared.
He added: “It’s accepted by doctors on behalf of both parties that at the time of the offence the defendant was suffering from a mental illness.”
Mr Frieze also asked for a pre-sentence report as the “issue of risk” would arise at sentencing.
Judge Peter Benson, adjourning the case until December, told Jowitt: “You have pleaded guilty to attempted murder but I am of the view you are suffering from a mental disorder and I’ve read the reports of Dr Shenoy and Dr Quinn.
“I’m going to adjourn sentence on you and remand you to a medium secure unit at Newton Lodge under Section 38 of the Mental Health Act for further reports to be prepared to see if it’s appropriate to make a psychiatric disposal in your case.”
He said otherwise Jowitt would be facing a lengthy sentence of custody.
Judge Benson also wanted the Probation Service to carry out a risk assessment before sentencing.