A teenage boy has admitted kicking and hurling abuse at two police officers during an alleged group attack.
The two PCs – a man and a woman – suffered minor injuries in the assault in Hackney, east London, on Wednesday.
Video circulating on social media showed an officer struggling with a man in Frampton Park Road while his colleague was pushed as she intervened.
The boy, 13, pleaded guilty to two charges of assault on an emergency worker at Thames Magistrates’ Court.
Prosecutor Varinder Hayre told the court the video had received national attention.
Home Secretary Priti Patel and Mayor of London Sadiq Khan were among those to publicly condemn the attack.
Ms Hayre said PC Macpherson and PC Ali were dealing with an incident that the teenager became involved in.
“He then kicked towards PC Macpherson’s head and he hit PC Ali in the leg,” she said, adding: “He was shouting abuse.”
She said the teenager explained he thought he had been “helping” another man, with this combining with what he had seen in news coverage regarding “black lives matter”.
“He said he was sorry for kicking the officers,” she said, adding “he should not have got involved in the way that he did”.
The youth, who cannot be named for legal reasons, was granted bail and will be sentenced on 8 July.
Paul Kabemba, 33, of Morning Lane, Jordan Thomas, 20, of Woolridge Way and Marvin Henderson, 34, of Frampton Park Road, also facing assault charges, are due to appear in court later.