A new harassment policy will see videos that “maliciously insult” people based on their race, gender, or sexual orientation banned from YouTube after the company faced intense backlash around the right-wing comedian Steven Crowder’s targeting of gay Latino journalist Carlos Maza.

YouTube announced the new guidelines on Wednesday. Some of Crowder’s videos that targeted Maza will also be removed from the platform.