District magistrate Timothy Kelly, in charge of the case, ordered the White House to reinstate the press pass.
A US judge ordered Friday to temporarily restore the credentials to access the White House to CNN correspondent Jim Acosta, which had been revoked after a controversial press conference with President Donald Trump.
The White House withdrew Acosta’s credentials last week, in an escalation of Trump’s attacks on the press, which he described as “the enemy of the people.”
CNN filed a lawsuit Tuesday against the US government over the revocation of Acosta’s credentials, whose questions and reports have been frequently criticized by Trump.
District Judge Timothy Kelly, in charge of the case, ordered the White House to reinstate Acosta’s press pass while the case is resolved.
White House press secretary Sarah Huckabee Sanders said in a statement that Acosta’s credentials would be temporarily restored.
“Let’s go back to work,” Acosta told reporters after the hearing.
But Trump said that “people have to behave” and warned of future legal action against reporters who do not.
“If they ignore the rules and regulations, we’ll end up in court again and win,” Trump said.
For its part, CNN said in a statement that “it expects a complete resolution in the coming days.”