Social media erupted Friday after a federal judge ordered the Trump administration to reinstate press credentials for Jim Acosta, CNN's chief White House correspondent.

U.S. District Judge Timothy Kelly, who was appointed to the bench by President Trump Donald John TrumpBiden on Trump's refusal to commit to peaceful transfer of power: 'What country are we in?' Romney: 'Unthinkable and unacceptable' to not commit to peaceful transition of power Two Louisville police officers shot amid Breonna Taylor grand jury protests MORE, granted CNN’s request to restore Acosta's hard press pass on Friday.

ADVERTISEMENT

While Kelly said Acosta's Fifth Amendment rights to due process were violated, he did not issue a ruling on whether the reporter's First Amendment rights were violated.

"I want to emphasize the very limited nature of this ruling," Kelly said Friday.

Following the judge's decision, White House press secretary Sarah Huckabee Sanders issued a statement saying the White House would "temporarily" reinstate Acosta's hard pass.

“Today, the court made clear that there is no absolute First Amendment right to access the White House," Sanders said. "In response to the court, we will temporarily reinstate the reporter’s hard pass. We will also further develop rules and processes to ensure fair and orderly press conferences in the future."

President Trump and members of his administration, including Sanders, have frequently sparred with Acosta.

Members of the media, hosts and commentators weighed in on the ruling on Twitter, some calling it a major win for the First Amendment while others voiced strong disagreement with the judge's decision.

A victory for the First Amendment and a free and independent press. https://t.co/Fe3PU8Nqew — Marty Baron (@PostBaron) November 16, 2018

Jim @Acosta is a grandstanding boob, and it was a tactical mistake to pull his pass. I believe both things to be true, and there is no contradiction. — Jim Treacher (@jtLOL) November 16, 2018

A big win for press freedom -- a federal judge on Friday ruled in favor of CNN and reporter Jim Acosta, ordering the White House to temporarily restore the press credentials that the Trump Administration took away, @farhip reports https://t.co/0G2EYCUbpw — Philip Rucker (@PhilipRucker) November 16, 2018

Another disgraceful court ruling https://t.co/mNHPRbdqn2 — Mark R. Levin (@marklevinshow) November 16, 2018

CNN and Jim Acosta win today but remember this case is not over.



Judge is not ruling Acosta’s first amendment was in fact violated. This is just an injunction. — Paul McLeod (@pdmcleod) November 16, 2018

Excited for another full Acosta news cycle. — Stephen Miller (@redsteeze) November 16, 2018

Judge hands CNN victory in its bid to restore Jim Acosta’s White House press pass. https://t.co/S20motvz4z An important moment. — Jay Rosen (@jayrosen_nyu) November 16, 2018

We're gonna have a constitutional crisis because of Jim Acosta's press pass aren't we — Steven Perlberg (@perlberg) November 16, 2018

Lessons for India from the Trump-Acosta fight. (1) Media solidarity is crucial (Fox supported CNN). (2) independent judiciary is important (the judge who ruled for CNN today was appointed by Trump). https://t.co/olD7tyui1b — Salil Tripathi (@saliltripathi) November 16, 2018

What would federal judge do if Acosta "challenged" him in his courtroom and argued and wouldn't shut up when judge told him to and refused to give up mic when bailiff tried to retrieve it? Asking for a friend. And for half of America. — Gov. Mike Huckabee (@GovMikeHuckabee) November 16, 2018

Judge hands # CNN victory in its bid to restore Jim #Acosta’s White House press pass. This is an emphatic beat down of ⁦@realDonaldTrump⁩ and his imperious palace guard by a new federal judge who was nominated for the bench by...Donald Trump. https://t.co/c3zTqiumqS — Howard Fineman (@howardfineman) November 16, 2018

There is no White House press briefing scheduled for Friday. Trump has yet to weigh in on the decision personally as of noon Friday.