The Associated Press sued three Trump administration officials Friday over access to presidential events, citing freedom of speech in asking a federal judge to stop the 10-day blocking of its journalists.

The lawsuit was filed Friday afternoon in U.S. District Court in Washington, D.C.

The AP says its case is about an unconstitutional effort by the White House to control speech — in this case refusing to change its style from the Gulf of Mexico to the “Gulf of America,” as President Donald Trump did last month with an executive order.

“The press and all people in the United States have the right to choose their own words and not be retaliated against by the government,” the AP said in its lawsuit, which names White House Chief of Staff Susan Wiles, Deputy Chief of Staff Taylor Budowich and Press Secretary Karoline Leavitt.

The Baltimore Banner thanks its sponsors. Become one.

“This targeted attack on the AP’s editorial independence and ability to gather and report the news strikes at the very core of the First Amendment,” the news agency said. “This court should remedy it immediately.”

In stopping the AP from attending press events at the White House and Mar-a-Lago, or flying on Air Force One in the agency’s customary spot, the Trump team directly cited the AP’s decision not to fully follow the president’s renaming.

“We’re going to keep them out until such time as they agree that it’s the Gulf of America,” Trump said Tuesday.

This week, about 40 news organizations signed onto a letter organized by the White House Correspondents Association, urging the White House to reverse its policy against the AP.