Violence broke out at the Old Bailey as five gang members were jailed for murdering a man in a knife attack.
Kamali Gabbidon-Lynck, 19, was stabbed to death at a Wood Green hair salon last year.
He was killed as a result of “a longstanding and mutual hatred” between two rival gangs, the court heard.
Police officers and prison staff were attacked after the judge gave the killers – two men and three teenagers – life sentences.
Tyrell Graham, 18, Sheareem Cookhorn, 21, and 17-year-olds Jayden O’Neil-Crichlow, Shane Lyons, and Ojay Hamilton began fighting in the dock as they were led out of court.
One officer suffered a head injury when he and nine colleagues attempted to restrain the defendants.
Police also had to stop people in the public gallery from jumping into the courtroom.
The court heard Mr Gabbidon-Lynck’s friend Jason Fraser, 20, was chased, stabbed, and shot by a rival gang on 22 February 2019. He survived the attack.
While his friend was being attacked, Mr Gabbidon-Lynck drove towards the attackers to try to scare them off, prosecutor Oliver Glasgow QC told jurors.
The court heard he became trapped after reversing into parked cars, forcing him to run to a hair salon.
He was stabbed five times and died after an artery was severed.
Judge Foster told the gang the attack had “terrified members of the public”.
Mr Glasgow said it was “more reminiscent of a Hollywood film than a winter’s night in north London”.
Mr Gabbidon-Lynck was linked to a north London gang called the WGM, the court heard.
His killers were said to be linked to Tottenham gang the NPK.
Cookhorn was jailed for a minimum of 28 years for murder, attempted murder and possession of a firearm.
Graham will serve at least 25 years for murder and attempted murder.
Lyons, O’Neil-Crichlow and Hamilton were each jailed for 21 years for murder and wounding with intent.
The defendants had denied all the charges against them.