Prosecutor Carolyn Gardiner told the jury of seven men and five women that Tweed and Mattock attacked Daniel – now 18 – late at night in the centre of Ongar, Essex, in December 2006.

She said Daniel was left with a bleeding nose and the two men were also armed with a spray.

Miss Gardiner said Tweed was living with Goody in Ongar and Mattock was one of their neighbours.

“Two weeks before Jade Goody had had some trouble with youths in the area,” said Miss Gardiner. Some youths probably being noisier than they should have been. Maybe they (Tweed and Mattock) decided it is time to teach these youths a lesson or two.”

Jurors were told that when questioned by police Tweed and Mattock denied any involvement in the attack.

Tweed told detectives he had been “putting up Christmas trees” and “watching videos” before he and Mattock had gone to pick up a Chinese takeaway.

Tweed told police: “They have picked me out because they know me from magazines and the TV”, Miss Gardiner said.