Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

The Trump administration is suing the state of New Jersey and the county in Washington state that encompasses Seattle, claiming their governments are flouting federal immigration law through local "sanctuary" policies.

The suit against New Jersey represents the first time the federal government has sued a state over its policy of limiting assistance to federal immigration authorities.

The Justice Department is also seeking to halt a recent local policy in King County, Washington's most populous county, which prevents Immigration and Customs Enforcement from using a county airport for deportation flights.

Attorney General William Barr announced the lawsuits just hours after President Donald Trump, speaking at a gathering of governors in Washington, D.C., described sanctuary cities as a "tremendous problem."

"Today is a significant escalation in the federal government's efforts to confront the resistance of sanctuary cities," Barr said. "But by no means do the efforts outlined above signify the culmination of our fight to ensure the rule of law, to defend the Constitution and to keep Americans safe."

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

The announcement came a week after the Trump administration announced that it was suspending enrollment in the Global Entry travel program for New Yorkers. A day earlier, on Feb. 4, Trump criticized "New York's sanctuary policies" in his State of the Union address.

New York's attorney general sued the administration over the move earlier Monday.

New Jersey Attorney General Gurbir Grewal issued an "Immigrant Trust Directive" in 2018, limiting voluntary cooperation between law enforcement in the state and ICE. Grewal updated the directive in September, blocking local law enforcement from acting as immigration officials in county jails.

"It's no surprise that the President, facing re-election, has suddenly decided to challenge the Immigrant Trust Directive, a policy we announced in 2018," Grewal tweeted after Monday's announcement. "What's disappointing is that my former colleagues at the Justice Dept have agreed to go along with this election year stunt."

It's no surprise that the President, facing re-election, has suddenly decided to challenge the Immigrant Trust Directive, a policy we announced in 2018.



What's disappointing is that my former colleagues at the Justice Dept have agreed to go along with this election year stunt. — AG Gurbir Grewal (@NewJerseyOAG) February 10, 2020

King County Executive Dow Constantine issued an order in May that King County International Airport, also known as Boeing Field, would no longer service ICE-chartered flights. Since then, ICE has been using an airport in Yakima, more than two hours away, for deportation flights.

"My Executive Order of April 23, 2019, sought to make King County government practices consistent with our region's values," Constantine said. "We are already actively engaged in an administrative process with the FAA to resolve our differing interpretations. The Trump administration and Attorney General Barr chose to circumvent this work for the sake of grabbing headlines."

Washington officials have repeatedly gone toe to toe with the Trump administration in court over sanctuary cities and immigration policy. State Attorney General Bob Ferguson was the first to sue the administration over the so-called travel ban, in January 2017. Ferguson also led nearly a dozen other state attorneys general in suing the administration over family separations at the border in 2018.

Download the NBC News app for breaking news and politics

Seattle, which is in King County, was one of several local governments that sued the Trump administration in 2017 over its sanctuary cities executive order, which prevented local governments that refuse to cooperate with immigration officials from receiving some federal grants. Last year, the 9th U.S. Circuit Court of Appeals ruled that the Justice Department could give preferential treatment to cities and states that cooperate with federal immigration agencies when giving out grants.

The Justice Department also announced a lawsuit Monday against California, challenging a state law that prohibits any private detention facilities in the state, including ICE facilities.