The Latest: CNN's Acosta returns to White House after ruling

The Latest on the legal challenge to the White House's decision to strip CNN reporter Jim Acosta of his White House press credentials (all times local):

6:55 p.m.

CNN's Jim Acosta is back at the White House after a federal judge ordered the Trump administration to immediately return his press credentials, though a lawsuit over the revocation is continuing.

The White House revoked Acosta's credentials last week after he and President Donald Trump tangled verbally during a press conference. CNN sued and asked the judge to issue a temporary restraining order.

U.S. District Court Judge Timothy Kelly, an appointee of President Donald Trump, said Friday that Acosta's credentials must be reactivated to allow him access to the White House complex for press briefings and other events.

Trump says the White House is "writing up rules and regulations" for reporters.

__

1:20 p.m.

President Donald Trump says the White House is "writing up rules and regulations" for reporters after a judge ordered the administration to restore credentials for CNN reporter Jim Acosta.

Trump told reporters Friday that "people have to behave." He added that if journalists "don't listen to the rules and regulations, we will end up back in court and we will win."

Asked what he meant by rules and regulations, Trump said: "Decorum. You can't take three questions and four questions. And just stand up and not sit down."

Trump said he wants "total freedom of the press," but added "you have to act with respect."

The White House said Friday that it would "temporarily reinstate" the credentials that were revoked after Acosta and Trump tangled during a press conference last week.

__

12:40 p.m.

CNN White House correspondent Jim Acosta says all he wants to do is go back to work covering "the guy in there," referring to President Donald Trump.

More than 50 members of the White House press corps greeted Acosta as he strode through the northwest gate of the presidential compound.

A federal judge on Friday ordered the administration to restore the credentials that were revoked after Acosta and Trump tangled during a press conference last week.

Acosta says journalists need to know that in the United States their First Amendment rights and freedom of the press "are sacred" and protected by the Constitution.

He says he's grateful for the judge's ruling, that it was a test and he thinks the media passed the test.

Acosta says: "This is just any other day at the White House for me and I would like to get back to work."

___

11:55 a.m.

The White House says it will "temporarily reinstate" the White House press credentials of CNN reporter Jim Acosta in response to a judge's order.

A federal judge on Friday ordered the administration to return the credentials that were revoked after Acosta and Trump tangled during a press conference last week.

White House spokeswoman Sarah Huckabee Sanders also 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."

The judge granted CNN's request for a temporary restraining order. A lawsuit that CNN brought against the Trump administration over the issue is continuing.

__

10:47 a.m.

CNN's Jim Acosta has thanked the judge who ordered the Trump administration to immediately return his White House press credentials.

Acosta said Friday that he wanted to thank fellow reporters who supported him and the judge for the "decision he made today."

U.S. District Court Judge Timothy Kelly ordered the White House to immediately return Acosta's credentials while CNN's lawsuit continues.

He found that Acosta was "irreparably harmed" and dismissed the government's argument that CNN could send another reporter in Acosta's place to cover the White House.

In brief remarks after the ruling, Acosta said, "Let's go back to work!"

__

10:30 a.m.

A federal judge in Washington is ordering the Trump administration to immediately return the White House press credentials of CNN reporter Jim Acosta.

U.S. District Court Judge Timothy Kelly announced his decision Friday morning.

CNN had asked that Acosta's credentials be returned while a lawsuit over their revocation goes forward.

The network's chief White House correspondent has clashed repeatedly with Trump and press secretary Sarah Huckabee Sanders in briefings over the last two years. But the White House pulled his credentials last week following a combative press conference in which he clashed with Trump.

The judge is a Trump appointee.

__

12:50 a.m.

It's a waiting game in the legal case about whether a federal judge will order the Trump administration to return the White House press credentials of CNN reporter Jim Acosta.

CNN has asked U.S. District Judge Timothy Kelly, who was appointed to the bench by President Donald Trump, for an order that would force the White House to immediately hand back credentials that give reporters access to the White House complex.

CNN wants Acosta's credentials returned while a lawsuit over their revocation goes forward.

Acosta has clashed repeatedly with Trump and press secretary Sarah Huckabee Sanders in briefings over the past two years. The White House pulled his credential last week following a combative press conference.

Trump has made his dislike of CNN clear since before he took office and continuing into his presidency. He's described the network as "fake news" both on Twitter and in public comments.