Further escalating its battle with the Trump administration, ABC on Tuesday took the rare step of suing the Federal Communications Commission on First Amendment grounds, saying the agency’s demand for early review of its broadcast licenses posed an “existential threat” to the network.

In the lawsuit, ABC, its parent company Disney and the eight ABC-owned stations whose licenses are affected asked a federal court to stop the early renewal proceedings.

The FCC under Chairman Brendan Carr, an ally of President Donald Trump, had ordered the early review in April — itself a rare move — of all eight licenses owned by ABC, years before they are set to expire. Licenses are issued for eight-year periods. The FCC cited the network’s diversity and inclusion practices as a reason, but the development came shortly after a joke by ABC’s late-night host Jimmy Kimmel — an outspoken Trump critic — had infuriated the president, who has called for Kimmel’s firing.

“Again and again, the Administration has attacked ABC’s speech — the stories its journalists report and the viewpoints its network programs air,” the network alleged in its lawsuit Tuesday. “Over time, those attacks have escalated into express demands that ABC be stripped of its broadcast licenses because of its speech.”