WASHINGTON (AP) — A federal judge early Thursday temporarily blocked President Donald Trump’s move to ban three news outlets from the White House grounds and said CNN, MS NOW and Politico must have their access restored.

It's the latest development in an escalating showdown between President Donald Trump and media outlets whose coverage he dislikes. Trump announced he was banning the outlets Sept. 18, assailing what he called “fake news.” More recently, the president has said negative coverage was dangerous for the country.

The outlets argued they were singled out because of the content of their coverage — in other words, viewpoint discrimination — and called the ban a “blatant violation” of the First Amendment.

U.S. District Judge Timothy Kelly — who Trump nominated in 2017 and who ordered a CNN journalist’s access restored in a similar case in 2018 — heard arguments Wednesday and ended the hearing without ruling.

On Thursday, he issued a temporary restraining order that will be in effect for 14 days. Such orders are typically designed to preserve the status quo pending a closer review of the case by the court.