Northampton teenager Liam Hunt named his attacker as he lay bleeding to death in his girlfriend's arms, a court heard.
After suffering a seven-centimetre stab wound to his neck, the 17-year-old was able to answer his girlfriend's pleas to tell her "who's done this".
He told her "Kane".
A man named Kane Allaban-Hamilton, 18, from Delapre, as well as six other young men, are on trial for Liam's murder at Northampton Crown Court.
Yesterday (February 19), Liam's then-girlfriend told the jury how she had tried to stop the bleeding following the alleged group stabbing. She did not witness the attack.
The 18-year-old girl said: "[One of Liam's friends] came running around the corner shouting we needed an ambulance. Liam came around the corner. He was holding his neck. Then he dropped to the floor. There was a lot of blood.
"I said, 'you need to tell me who's done this to you'. He found it hard to breathe and speak.
"He said 'Kane'."
Liam died in hospital about an hour later.
On the day of Liam's death, Dodd bumped into Liam and his friends on St George's Street, off Barrack Road, before running away.
The witness said: "Liam was really worried. He thought James would go to the police about the fight.
"He just wanted to shake his hand and call it a truce."
James and the six other defendants - referred to by one witness as "his boys" - reportedly showed up less than an hour later "for revenge", Prosecutor John Lloyd-Jones said.
Defence barrister Michael Mather-Lees has accused Liam of having a knife during the attack.
The 18-year-old girl told the jury how she had overheard Liam saying he was "tooled up" in the half-an-hour leading up to the attack. Concerned, she "patted him down like airport security", took a knife off of him and put it in a kitchen drawer.
The court heard how one of Liam's friends had retrieved the knife before they went back to St George's Street, where Liam was stabbed.
The trial continues.