A man allegedly attacked with a crowbar and Samurai sword in a Derry flat thought he was going to die, the High Court heard today.
The victim claims he overheard one of those involved say: "We are going to have to kill him because he will tell the police."
Details emerged as bail was refused to a man accused of bringing him to the scene after they met at a pub in the city.
Lee Flanagan, 32, of Eden Terrace, Derry, faces charges of false imprisonment and causing grievous bodily harm.
The court heard Flanagan invited the victim back to the flat on November 5 where they were joined by two other men.
He was asked which one of two brothers he was before being punched and kicked to the ground, it was claimed.
A prosecution barrister said a co-accused produced a crowbar and hit him about the face.
That man then allegedly grabbed a Samurai sword from behind a television and aimed at the victim.
Despite trying to block the blows it inflicted gashes to his head, the court was told.
The co-accused allegedly told the man "You're f*****", leaving him fearing he was about to die, according to prosecution counsel.
She said Flanagan then allegedly spoke of killing him to stop him telling police.
It was claimed that he also talked of keeping the man for a couple of weeks so that swelling to his face would go down.
The victim claimed he escaped and contacted police after two of the suspects left the flat.
He suffered severe bruising, blurred vision, a slash to his arm and a deep cut to his head, the judge was told.
Following his arrest Flanagan claimed he had blacked out after taking drink and drugs and did not know what happened.
He also claimed he offered to take the victim to hospital.
Defence barrister Sean Doherty said all of those at the flat were known to police, including the victim himself who was recently released from prison.
"Four separate accounts of what occurred have been given to police and the court has a very murky context to examine and try to establish exactly what occurred," he added.
Mr Doherty said his client has become an active member of the Christian organisation Cornerstone, attending meetings twice a week.
"He accepts he fell of the wagon on this particular evening and it's quite clear a lot of alcohol and drugs were consumed by all present."
Refusing the application for bail, Mr Justice Treacy cited the risks of re-offending and interference with witnesses.