West Midlands Police has secured gang injunctions banning two brothers from Birmingham from appearing in drill music videos glorifying gun and drug crime.
The force said it had discovered Kareem and Theo White featured in several YouTube clips in which members of a Birmingham gang aim coded threats to rival groups.
The Birmingham Organised Crime & Gangs Unit secured court orders against the pair.
The injunctions, secured at Birmingham County Court on 14 May, ban the brothers from “creating or publishing any audio-visual material that may reasonably be seen as inciting or encouraging crime or gang related violence or membership".
The orders also prohibit them from entering large parts of central Birmingham, including Handsworth, Lozells, Winson Green, Hockley, Newtown and Ladywood.
Detective Inspector Dawn Burns from the Birmingham Organised Crime & Gangs Unit said: “We found Kareem was a prominent figure in at least five gang drill music videos… he’s not a peripheral figure, he is front and centre rapping about committing serious acts of violence.
“There is no evidence the videos directly sparked disorder but the words encourage and glorify gang-related violence.
“The court has granted us gang injunctions that will significantly disrupt their activity… and if they fail to comply they risk being jailed."