A man has denied murdering a stranger with a samurai sword after he was allegedly attacked in his home.
Lincoln Crown Court heard Thomas Roe, 42, of Coleridge Gardens, Lincoln, took the sword from a pot by his front door and chased after an intruder.
Mr Roe came across a group including Carl Taylor and Dale Veitch, who were both stabbed. Mr Taylor, 24, died from his injuries, the court was told.
Mr Roe denies murder and wounding with intent to cause grievous bodily harm.
The court heard that while chasing the intruder, Martin Dent, in the early hours of 17 February, the defendant shouted: "Come back here, I am going to open you up like a can of beans."
Mr Dent walked away, but Mr Roe came across the other men.
Mr Veitch allegedly bundled Mr Roe to the ground before being stabbed four times.
He survived his injuries but Mr Taylor suffered a fatal wound to the aorta.
The jury was shown a 49cm (19in) Samurai Ninja 3000 which could be bought on the internet.
Prosecuting, Lynn Tayton QC said: "Carl Taylor squared up to the defendant. The defendant without warning and quick as a flash went for Carl Taylor who was two or three feet away.
"The defendant swung the sword at Mr Taylor four or five times. Mr Taylor staggered back to the Ford Fiesta. He leant against it and fell to the floor with a thud and didn't move again."
The trial continues.