(CNN) New York Attorney General Letitia James, along with 18 attorneys general from across the country, sued the Trump administration Tuesday over plans to divert additional military funds for the construction of President Donald Trump's signature border wall.

The administration has increasingly relied on the Defense Department to shore up money to build barriers on the US-Mexico border. Last month, the Pentagon announced plans to divert $3.83 billion from various accounts to fund the wall

Tuesday's lawsuit is the latest in a string of legal challenges over the administration shifting funds for the wall. The American Civil Liberties Union also sued in February over the additional Pentagon funds being transferred for the wall.

"President Trump is risking the safety of every American by diverting taxpayer dollars from our military to fund the same xenophobic campaign promises he's made for the last four years," said James, who's previously filed a lawsuit against the wall, in a statement.

"The courts have already once rejected the president's unlawful attempt to shift funds to his hateful pet project, so as long as this Administration continues down the path of illegally subsidizing an ill-advised border wall we will not hesitate to take action," James added.

Read More