A federal judge in New York on Wednesday ruled that U.S. President Donald Trump may not legally block Twitter users because doing so violates their right to free speech under the First Amendment of the Constitution.

U.S. District Judge Naomi Reice Buchwald stopped short of ordering Trump to unblock users, saying it was not necessary to enter a "legal thicket" involving courts' power. She said she assumed Trump or his social media director Dan Scavino, who also was a defendant in the case, would unblock the users in light of her decision.

Buchwald's ruling was in response to a lawsuit filed against Trump in July by the Knight First Amendment Institute at Columbia University and several Twitter users.