Des Moines (US), Mar 16 (AP) The Trump administration on Friday moved to dismiss lawsuits against Iowa and Oklahoma brought by the Biden administration's Department of Justice, which challenged the states' immigration laws making it a crime for someone to be in the state if they are in the US illegally.

Republican governors and lawmakers across the country had accused then-President Joe Biden of failing to enforce federal immigration law and manage the southern border.

Also Read | Famous Birthdays on March 16: Rajpal Yadav, Blake Griffin, James Madison and Alexandra Daddario - Know About Celebrities and Influential Figures Born on March 16.

In response, Iowa and Oklahoma enacted similar laws that let state and local officials arrest and charge people who have outstanding deportation orders or who previously were removed from or denied admission to the US. Both laws followed one enacted in Texas.

The Biden administration sued Texas, Iowa and Oklahoma over the respective laws. Texas' more expansive law was in effect for only a few confusing hours last March before a federal appeals court put it on hold.

Also Read | Donald Trump Signs Bill Funding Government for 6 Months, Ending Threat of Partial Government Shutdown.

The Iowa and Oklahoma laws have themselves been on hold while courts consider whether they unconstitutionally usurp federal immigration authority.

"The Biden administration's absurd opposition to (Oklahoma's law) was particularly frustrating since it was the White House's gross negligence on border security that had made the state law so necessary in the first place," Oklahoma Attorney General Gentner Drummond said in a statement on Friday.

Trump ran for office on a pledge to crack down on illegal immigration and deport many who are living in the US illegally, promises he acted on with executive orders during his first week in office that conflicted with the prior administration's legal position in the two cases.

Iowa Attorney General Brenna Bird described the Trump administration's move to dismiss a "major victory" for Iowans.

"Today, President Trump, again, proved that he has Iowa's back and showcased his commitment to Making America Safe Again by dropping Biden's ridiculous lawsuit," Bird said in a statement.

An immigrant rights group also sued Iowa last May over its law, but the 8th Circuit US Court of Appeals recently issued a decision that complicates the legal battle now that the Trump administration has withdrawn the federal government's complaint.

The appellate court said the lawsuit filed by Iowa Migrant Movement for Justice should be dismissed by the district court judge, arguing the US v. Iowa lawsuit made it moot. Rita Bettis Austen, the legal director for the American Civil Liberties Union of Iowa, said in a statement on Friday they intended to continue fighting to keep Iowa's law from taking effect.

"With today's DOJ filing, we remain steadfast in our commitment to working to keep this harmful law from being enforced in Iowa," Bettis Austen said.

Lawyers representing Iowa Migrant Movement for Justice in February filed a petition for rehearing with the appellate court. (AP)

(The above story is verified and authored by Press Trust of India (PTI) staff. PTI, India’s premier news agency, employs more than 400 journalists and 500 stringers to cover almost every district and small town in India.. The views appearing in the above post do not reflect the opinions of LatestLY)