X, the social media company previously known as Twitter, is suing the state of California over a law that requires companies to disclose details about their content moderation practices. The law, known as AB 587, requires social media companies to publish information about their handling of hate speech, extremism, misinformation and other issues, as well as details about internal moderation processes.

Lawyers for X argue that the law is unconstitutional and will lead to censorship. It “has both the purpose and likely effect of pressuring companies such as X Corp. to remove, demonetize, or deprioritize constitutionally-protected speech,” the company wrote in the lawsuit. “The true intent of AB 587 is to pressure social media platforms to ‘eliminate’ certain constitutionally-protected content viewed by the State as problematic.”