A teenager accused of stabbing a schoolboy to death in the street sent a Snapchat video of himself carrying a bloody knife with the caption 'muppet', a jury heard.
Two 15-year-old boys have gone on trial accused of murdering Reece Tansey in Walker Avenue, Bolton, in the early hours of May 4.
They both deny the charge.
Jurors at Manchester Crown Court today heard that Reece, 15, was killed after becoming embroiled in a dispute between a friend and one of the defendants - Boy B.
Prosecutors allege that the defendants sent Snapchat messages 'goading' Reece and the friend into meeting up for a fight in the hours prior to the killing.
But after the friend changed his mind, jurors heard Reece turned up alone and was knifed six times in a brutal attack.
He banged on the door of a nearby house desperately pleading for help before falling to the ground, the court was told.
Jurors heard that Reece was discovered by two men and, with his final breath, managed to give them the names of his alleged killers.
Prosecutor Mark Ford QC said Reece and the two defendants knew each other through friends.
But in the days and weeks leading up to the stabbing, it is alleged that a feud had simmered between Boy B and Reece's friend.
Mr Ford told the jury that Boy B had a 'long-standing hatred' for the friend and recruited Boy A to support him in the dispute.
The feud escalated in the early hours of May 4 as the four teenagers exchanged messages over Snapchat and Instagram, the court heard.
Prosecutors allege that Boy B and Boy A tried to provoke Reece, although he initially 'seemed reluctant' to get involved in his friend's dispute.
In one Snapchat message - sent at 1.28am - Reece is alleged to have told Boy A: "Donâ€™t bring me in his s***. Whatâ€™s gone on?"
The court heard he then sent a message to his friend, which read: "Getting brought into your s*** again. Ain't in no f****** mood".
Two minutes later, Boy A allegedly messaged Reece threatening to make him 'beg for his life' and telling him â€˜u and ur boy will get itâ€™.
Meanwhile, Boy B sent a message to friends via Snapchat asking for Reece's home address, the court was told.
All four boys later agreed to meet and Reece left home and headed to the rendezvous point, jurors heard.
When a female friend warned Boy A and Boy B that Reece might bring others with him, Boy A is alleged to have told her: â€œItâ€™s ok, I have a knifeâ€.
But as Reece was en route, the court heard his friend informed him that he had decided to stay in bed.
Prosecutors say that just moments after Reece and the defendants met in Walker Avenue - at about 4.30am - Reece was stabbed six times.
Mr Ford said the stabbing was witnessed by two men, who were on their way home from a mosque after observing Ramadan.
Jurors heard that one of the men described seeing Reece 'fall onto all fours' in the road, while another male was â€˜bouncing as though he had been in a fight'.
The men drove towards Reece, who asked them for help, and noticed blood 'gushing from his arm and stomach', the court was told.
Mr Ford said: "Both men were understandably nervous about what exactly was happening and whether they were in some kind of danger, and so drove around the block whilst they called the emergency services."
When the men returned, they found Reece banging on the door of a house.
The jury heard that Reece then fell to the ground, and told the men he had 'been stabbed'.
When the men asked who had stabbed him, Reece is alleged to have given the name of Boy A and another name which prosecutors argued was 'obviously a reference' to Boy B.
Police officers arrived at the scene minutes later and Reece was rushed to Salford Royal Hospital, where he was pronounced dead at 5.45am.
Mr Ford said a pathologist concluded his death was caused by 'multiple stab wounds', which 'were likely to have been inflicted by a knife with a 10-12cm blade'.
Boy A was arrested later on May 4 after being brought to Bolton police station, jurors were told.
The court heard police were given a black bin bag filled with clothes Boy A was wearing on the night of the alleged killing, including a blood-stained glove which matched Reece's DNA.
Boy B was arrested at his home later that afternoon.
Police later recovered a Snapchat video Boy A had made of himself carrying a knife covered in blood, accompanied by the word â€˜muppetâ€™, the court heard.
Examination of Boy A's phone also revealed that a factory reset had been performed hours after Reece's death, jurors were told.
"This was, say the Crown, a deliberate act on his part to destroy evidence he knew would tend to incriminate him of Reece's murder," explained Mr Ford.
He added that the prosecution case was that the defendants intended to 'fight and cause serious harm' to Reece.
Addressing the jury, Mr Ford said: "The Crown therefore invite you to conclude that the defendants had a shared intention to, at the very least, cause Reece really serious harm, and both acted upon that intention.
"That, in the submission of the Crown, is why these two boys are both guilty of his murder."
The trial continues.