NEW YORK (AP/CNN) — A federal appeals court says President Donald Trump can’t ban critics from his Twitter account.

The 2nd US Circuit Court of Appeals upheld a New York judge’s ruling and found that Trump “engaged in unconstitutional viewpoint discrimination by utilizing Twitter’s ‘blocking’ function to limit certain users’ access to his social media account, which is otherwise open to the public at large, because he disagrees with their speech.”

READ MORE: Maskless Uber Passengers Assault, Cough On, Pepper Spray Driver After He Refuses Them Service

“We hold that he engaged in such discrimination,” the ruling adds.

The debate generates a “level of passion and intensity the likes of which have rarely been seen,” the court’s decision read.

“This debate, as uncomfortable and as unpleasant as it frequently may be, is nonetheless a good thing,” the 2nd Circuit added. “In resolving this appeal, we remind the litigants and the public that if the First Amendment means anything, it means that the best response to disfavored speech on matters of public concern is more speech, not less.”

The Justice Department did not immediately comment.

The ruling came in a case brought by the Knight First Amendment Institute at Columbia University. It had sued on behalf of seven individuals blocked by Trump after criticizing his policies.

Jameel Jaffer, the institute’s director, said in an email that public officials’ social media accounts are now among the most significant forums for discussion of government policy.

READ MORE: COVID: Bay Area Vaccine Hunters Help Those Eligible Struggling To Find Appointments

The ruling “will ensure that people aren’t excluded from these forums simply because of their viewpoints,” he said.

Trump has over 60 million followers of his @realDonaldTrump Twitter account.

During oral arguments earlier this year, attorney Jennifer Utrecht argued for the president, saying that the account was created long before Trump became president and that he was acting in a private capacity when he blocks individuals.

Parker was critical during those arguments, foreshadowing Tuesday’s decision.

“Are you seriously urging us to believe that the president is not acting in his official capacity when he is tweeting?” Parker said, noting that Trump subtracts from robust public discussion by blocking critics. “Why isn’t that just a quintessential First Amendment violation?”

The appeals court ruled that the First Amendment does not permit a public official using a social media account for “all manner of official purposes” to exclude people from an otherwise open online dialogue because they disagree with the official.

MORE NEWS: Twitter Sues Texas AG Over Alleged Retaliation For Banning Trump's Account After Capitol Riot

The ruling Tuesday upheld a decision last year by U.S. District Judge Naomi Reice Buchwald.