President Donald Trump’s efforts to block certain critics from following him on Twitter is discriminatory and violates the First Amendment, a U.S. appeals court ruled Tuesday.

The three-judge panel of the U.S. Court of Appeals for the Second Circuit upheld a lower court ruling against Trump. The plaintiffs, represented by the Knight First Amendment Institute at Columbia University, are Twitter users who were “blocked” from accessing his social media account.