SAN FRANCISCO (AP) — Facebook is extending its ban on hate speech to prohibit the promotion and support of white nationalism and white separatism.

The company previously allowed such material even though it has long banned white supremacists. The social network said Wednesday that it didn’t apply the ban previously to expressions of white nationalism because it linked such expressions with broader concepts of nationalism and separatism — such as American pride or Basque separatism (which are still allowed).

But civil rights groups and academics called this view “misguided” and have long pressured the company to change its stance. Facebook said it concluded after months of “conversations” with them that white nationalism and separatism cannot be meaningfully separated from white supremacy and organized hate groups.

Critics have “raised these issues to the highest levels at Facebook (and held) a number of working meetings with their staff as we’ve tried to get them to the right place,” said Kristen Clarke, president and executive director of the Lawyers’ Committee for Civil Rights Under Law, a Washington, D.C.-based legal advocacy group.

“This is long overdue as the country continues to deal with the grip of hate and the increase in violent white supremacy,” she said. “We need the tech sector to do its part to combat these efforts.”

Though Facebook said it has been working on the change for three months, it comes less than two weeks after Facebook received widespread criticism after the suspect in shootings at two New Zealand mosques that killed 49 people was able to broadcast the massacre on live video on Facebook.

As part of the change, people who search for terms associated with white supremacy will be directed to a group called Life After Hate, which was founded by former extremists who want to help people leave the violent far-right.

Clarke called the idea that white supremacism is different than white nationalism or white separatism a misguided “distinction without a difference.”

She said the New Zealand attack was a “powerful reminder about why we need the tech sector to do more to stamp out the conduct and activity of violent white supremacists.”

___

Associated Press Writer Michael Kunzelman in College Park, Maryland, contributed to this story.