Kudos to lawyers at the ACLU, Outten & Golden and other civil rights advocates who hammered out a broad settlement with Facebook on Tuesday that resolved five lawsuits.

The groups alleged that Facebook’s advertising platform enabled discrimination in housing, employment and credit advertising. According to the plaintiffs, Facebook provided targeting options that let advertisers exclude certain groups. For example, some job ads excluded users based on their age or gender, and housing ads targeted people based on their race.