What began in the wake of the #MeToo movement has ended with a new disciplinary rule aimed at punishing bias and discriminatory behavior by lawyers, just as protests over police brutality and the legacies of racism have erupted across the country.

On Monday, the Pennsylvania Supreme Court adopted a new disciplinary rule saying attorneys can face discipline if, during the practice of law, they “knowingly manifest bias or prejudice, or engage in harassment or discrimination, as those terms are defined in applicable federal, state or local statutes or ordinances.”