A man accused of stabbing a stranger to death in a park will not give evidence at his murder trial, a court has heard.
Dean Shorney was found dead in Bargoed Park in April
Wayne Royston, 35, from Bargoed in Caerphilly count, denies the murder of 21-year-old Dean Shorney in the town's park in April.
Cardiff Crown Court has heard more than two weeks of prosecution evidence.
But David Aubrey QC, defending, told the court on Monday: "I do not propose to call the defendant." He also said he would not call any other witnesses.
Mr Aubrey has previously told jurors that if they convicted Mr Royston, they would hear from psychiatrists about how his mental state might have "substantially diminished his responsibility for the killing".
He told them: "The defendant denies he killed Dean Shorney, and it is his case that some other person did it, although naturally he is in no position to say who that was".
The prosecution has alleged that Mr Royston, who was known to mental health agencies, committed the murder after he was denied his medication.
Peter Murphy QC, prosecuting, has told the court Mr Royston admitted to police he had frequently imagined approaching somebody from behind and stabbing them through the throat.
He said that on 18 April this year, Mr Royston was unable to obtain a repeat prescription of diazepam because of an administrative error by a community psychiatric nurse.
Later that evening, Mr Shorney was found dead in Bargoed Park.
He suffered 38 stab wounds and his throat had been cut.
Mr Royston denies murder and attempting to pervert the course of justice.
His wife, Emma Royston, has pleaded guilty to perverting the course of justice.
The trial continues.