A judge has ordered the White House to return the press credentials of banned CNN reporter Jim Acosta following his row with Donald Trump.
US District Court Judge Timothy Kelly, an appointee of the president, announced his decision in Washington on Friday.
The White House said it will "temporarily reinstate" Mr Acosta's pass in response to the order.
The journalist thanked Judge Kelly for the ruling, before adding: "Let's get back to work."
CNN and Mr Acosta said in a joint statement: "We are gratified with this result and we look forward to a full resolution in the coming days.
"Our sincere thanks to all who have supported not just CNN, but a free, strong and independent American press."
The network had asked for the journalist's credentials to be restored while a lawsuit over the decision to ban him goesforward.
Mr Acosta was accused of "unacceptable" conduct during a heated news conference with Mr Trump after the midterm elections.
The president's press secretary Sarah Sanders accused the reporter of "placing his hands on a young woman just trying to do her job as a White House intern".
After the judge's ruling on Friday she called for "decorum" at the White House and said they would be developing "rules and processes to ensure fair and orderly press conferences in the future".
Mr Acosta, CNN's chief White House correspondent, has clashed repeatedly with Mr Trump and Ms Sanders in briefings over the last two years.
Judge Kelly said the US government could not say who initially decided to revoke Mr Acosta's hard pass.
The White House had spelled out its reasons in a tweet from Mrs Sanders and in a statement after CNN filed its lawsuit.
But the judge said those "belated efforts were hardly sufficient to satisfy due process".
The judge also found that Mr Acosta suffered "irreparable harm", dismissing the government's argument that CNN could just send other reporters to cover the White House in Mr Acosta's place.
Mr Trump has made his dislike of CNN clear since before he took office and continuing into his presidency, having described the network as "fake news" both on Twitter and in public comments.
The president was taking questions from reporters at a news conference when the row broke out with Mr Acosta, who asked him about his statements about a caravan of migrants making its way to the US-Mexico border.
Mr Trump told the CNN reporter "that's enough" several times while calling on another reporter to ask a question.
Mr Acosta then attempted to ask about a question about special counsel Robert Mueller's Russia investigation.
More from US
He then declined to give up a hand-held microphone to a White House intern.
Mr Acosta's credentials were pulled hours later.