In this Nov. 14, 2018, photo, CNN's Jim Acosta walks into federal court in Washington, to attend a hearing on a legal challenge against President Donald Trump's administration. A judge is expected to... (Associated Press) 
 
 In this Nov. 14, 2018, photo, CNN's Jim Acosta walks into federal court in Washington, to attend a hearing on a legal challenge against President Donald Trump's administration. A judge is expected to announce Friday whether he will order the Trump administration to return the White House press credentials... (Associated Press) 
 
 In this Nov. 14, 2018, photo, CNN's Jim Acosta walks into federal court in Washington, to attend a hearing on a legal challenge against President Donald Trump's administration. A judge is expected to announce Friday whether he will order the Trump administration to return the White House press credentials... (Associated Press) In this Nov. 14, 2018, photo, CNN's Jim Acosta walks into federal court in Washington, to attend a hearing on a legal challenge against President Donald Trump's administration. A judge is expected to... (Associated Press) 
 
 WASHINGTON (AP) — A federal judge on Friday ordered the Trump administration to immediately return the White House press credentials of CNN reporter Jim Acosta. 
 
 U.S. District Court Judge Timothy Kelly, an appointee of President Donald Trump, announced his decision following a hearing in Washington. The judge said Acosta's credentials would be returned immediately and reactivated to allow him access to the White House. 
 
 CNN had asked the judge to force the White House to immediately hand back the credentials that give Acosta, CNN's chief White House correspondent, access to the White House complex for press briefings and other events. CNN asked for Acosta's credentials restored while a lawsuit over his credentials' revocation goes forward. 
 
 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. 
 
 The White House revoked Acosta's credentials after he and Trump tangled during a press conference last week. 
 
 The judge said the government could not say who initially decided to revoke Acosta's hard pass. The White House had spelled out its reasons for revoking his credentials in a tweet from White House Press Secretary Sarah Huckabee 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 Acosta suffered "irreparable harm," dismissing the government's argument that CNN could just send other reporters to cover the White House in Acosta's place. 
 
 The judge told attorneys to file additional court papers in the case by Monday. 
 
 Trump has made his dislike of CNN clear since before he took office and continuing into his presidency. He has described the network as "fake news" both on Twitter and in public comments. 
 
 At last week's press conference, which followed the midterm elections, Trump was taking questions from reporters and called on Acosta, who asked about Trump's statements about a caravan of migrants making its way to the U.S.-Mexico border. After a terse exchange, Trump told Acosta, "That's enough," several times while calling on another reporter. 
 
 Acosta attempted to ask another question about special counsel Robert Mueller's Russia investigation and initially declined to give up a hand-held microphone to a White House intern. Trump responded to Acosta by saying he wasn't concerned about the investigation, calling it a "hoax," and then criticized Acosta, calling him a "rude, terrible person." 
 
 The White House pulled Acosta's credentials hours later. 
 
 The White House's explanations for why it seized Acosta's credentials have shifted over the last week. 
 
 Sanders initially explained the decision by accusing Acosta of making improper physical contact with the intern seeking to grab the microphone. 
 
 But that rationale disappeared after witnesses backed Acosta's account that he was just trying to keep the microphone, and Sanders distributed a doctored video that made it appear Acosta was more aggressive than he actually was. On Tuesday, Sanders accused Acosta of being unprofessional by trying to dominate the questioning at the news conference. ||||| A federal judge on Friday ruled in favor of CNN and reporter Jim Acosta in a dispute with President Trump, ordering the White House to temporarily restore the press credentials that the administration had taken away from Acosta last week. 
 
 In a victory for the cable network and for press access generally, U.S. District Judge Timothy J. Kelly granted CNN’s motion for a temporary restraining order that will prevent the administration from keeping Acosta off the White House grounds. 
 
 The White House revoked the reporter’s press pass last week after a heated exchange between him and Trump and a brief altercation with a press aide at a news conference. Acosta, CNN’s chief White House correspondent, is the first reporter with a “hard pass” granting White House access to be banned. 
 
 CNN sued Trump and other White House officials Tuesday over the revocation. Kelly’s ruling was the result of the first legal skirmish in that lawsuit. It has the immediate effect of sending Acosta back to the White House, pending further arguments and a possible trial. The litigation is in its early stages, and a trial could be months away. 
 
 Hours after the judge’s decision, Acosta resumed his post at the White House. 
 
 Kelly, whom Trump appointed to the federal bench last year, handed down his ruling two days after the network and government lawyers argued over whether the president had the power to revoke a reporter’s access. 
 
 
 
 President Trump and CNN’s Jim Acosta square off at a Nov. 7 news conference. (Jim Watson/AFP/Getty Images) 
 
 In explaining his decision, Kelly said he agreed with the government’s argument that there was no First Amendment right to come onto the White House grounds. But, he said, once the White House opened up the grounds to reporters, the First Amendment applied. 
 
 Kellly’s ruling, however, primarily emphasized evidence indicating that the White House’s decision to boot Acosta had violated the Fifth Amendment, which guarantees due process in government actions. He said the White House’s decision-making was “so shrouded in mystery that the government could not tell me . . . who made the decision.” The White House’s later written arguments for banning Acosta were belated and were not sufficient to satisfy due process, Kelly said. 
 
 “We are gratified with this result and we look forward to a full resolution in the coming days,” CNN said in a statement. “Our sincere thanks to all who have supported not just CNN, but a free, strong and independent American press.” 
 
 Acosta added: “I just want to thank all my colleagues in the press who supported me this week. I want to thank the judge [for this ruling]. And let’s go back to work.” 
 
 In comments made in the Oval Office afterward, Trump said the White House would write rules to satisfy the court’s due-process concerns. He also suggested his administration would keep up the legal fight with CNN. “We will end up back in court, and we will win,” he said. 
 
 “We want total freedom of the press,” Trump said. “. . . But you have to act with respect when you’re at the White House, and when I see the way some of my people get treated at news conferences, it’s terrible. So we’re setting up a certain standard, which is what the court is requesting.” 
 
 He added, “We always have the option of leaving, . . . and the other media and press in the room won’t be happy.” 
 
 White House press secretary Sarah Sanders said in a statement after the ruling that “the court made clear that there is no absolute First Amendment right to access the White House,” although the judge actually said reporters have such rights once admitted. 
 
 Sanders announced Acosta’s “indefinite” suspension last week after the confrontation at the news conference. Trump and Sanders have had several run-ins with Acosta, stretching back to before Trump became president. 
 
 Acosta watched Friday’s proceedings from the courtroom in Washington, joined by a team of attorneys who included Theodore B. Olson, a former solicitor general in George W. Bush’s administration, and Theodore Boutrous, a star litigator and media-law specialist. 
 
 CNN had argued that the ban on Acosta violated his First Amendment rights because it amounted to “viewpoint discrimination” — that is, the president was punishing the reporter for statements and coverage he did not like. The network has also said the action violated Acosta’s Fifth Amendment rights because his exclusion followed no written guidelines or rules and had no appeal or review procedures. 
 
 CNN had requested “emergency” relief from the judge, arguing that Acosta’s rights were being violated with each passing hour. 
 
 Until the White House’s action last week, no reporter credentialed to cover the president had ever had a press pass revoked. 
 
 A government attorney, James Burnham, argued in a hearing before Kelly on Wednesday that the president was within his rights to ban any reporter from the White House at any time, just as he excludes reporters from interviews in the Oval Office. He said Acosta could report on the president “just as effectively” by watching the president on TV or by calling people within the White House. Burnham also said CNN would not be injured by Acosta’s exclusion, since CNN has dozens of other journalists credentialed for the White House. 
 
 Burnham said Trump’s rationale for Acosta’s ban was his “rudeness” at last week’s news conference, in effect arguing that Acosta’s conduct, not his right to free speech, was the relevant issue. 
 
 The assertions drew a rebuttal from Boutrous, CNN’s attorney, who described the ban on the reporter as arbitrary, capricious and unprecedented. He said that White House reporters need access to the premises to meet with officials and to report on un­televised “gaggles,” impromptu discussions with press aides and other officials, and that banning reporters from the grounds harms their ability to do their jobs. 
 
 Media organizations have been alarmed by the White House’s treatment of Acosta, saying that revoking his “hard pass” to enter the White House is a threat to other journalists who might be similarly banned. Trump has suggested other reporters could face a similar fate if they displease him in some unspecified way. Thirteen news organizations, including The Washington Post and Fox News, jointly filed a friend-of-the-court brief supporting CNN’s position. 
 
 The White House Correspondents’ Association, which represents journalists in their negotiations over access to the president, filed a brief Thursday that urged the court “to roundly reject the president’s dangerous legal position.” It disputed the government’s claim that the president has “absolute, unbridled discretion to decide who can report from inside the White House.” 
 
 During the presidential campaign in 2015 and 2016, Trump banned more than a dozen news organizations from his rallies and public events, including The Post. He said he would not do something similar as president. Last week, he went back on that statement. 
 
 Trump’s 2020 reelection campaign has used the CNN lawsuit to drum up contributions, portraying the suit as evidence of “liberal bias” — an assertion Boutrous brought up Wednesday in asserting that Trump had political reasons for banning Acosta. 
 
 “CNN is SUING President Trump, Sarah Huckabee Sanders, a Secret Service agent, and other White House officials,” the fundraising email says. “ . . . All because they REVOKED Jim Acosta’s press badge after his continuous grandstanding and inappropriate refusal to yield to other reporters. 
 
 “President Trump will NOT put up with the media’s liberal bias and utter disrespect for this Administration and the hardworking Americans who stand with us.”
– Score one for CNN over the White House. A federal judge on Friday ordered the Trump administration to immediately return the White House press credentials of reporter Jim Acosta, per the AP. US District Court Judge Timothy Kelly, an appointee of President Trump, announced his decision following a hearing in Washington. CNN had asked for Acosta's credentials restored while a lawsuit over his credentials' revocation goes forward. “I just want to thank all my colleagues in the press who supported me this week," said Acosta, per the Washington Post. "I want to thank the judge [for this ruling]. And let’s go back to work.” The White House revoked Acosta's credentials after he and Trump tangled during a press conference last week. The judge said the government could not say who initially decided to revoke Acosta's hard pass. The White House had spelled out its reasons for revoking his credentials in a tweet from White House Press Secretary Sarah Sanders, who accused Acosta of "placing his hands" on a female intern trying to take away his microphone. But the judge said those "belated efforts were hardly sufficient to satisfy due process." The judge also found that Acosta suffered "irreparable harm," dismissing the government's argument that CNN could just send other reporters to cover the White House in Acosta's place. (Video of the dispute was controversial, too.)