NEW YORK, NY - AUGUST 15:  Dozens of immigration advocates and supporters attend a rally outside of  Trump Tower along Fifth Avenue on August 15, 2017 in New York City. The activists were rallying on the five-year anniversary of President Obama's executive order, DACA - Deferred Action for Childhood Arrivals, protecting undocumented immigrants brought to the U.S. as children. Security throughout the area is high with President Donald Trump in residency at the tower, his first visit back to his apartment since his inauguration. Numerous protests and extensive road closures are planned for the area.  (Photo by Spencer Platt/Getty Images)
Spencer Platt/Getty Images
NEW YORK, NY - AUGUST 15: Dozens of immigration advocates and supporters attend a rally outside of Trump Tower along Fifth Avenue on August 15, 2017 in New York City. The activists were rallying on the five-year anniversary of President Obama's executive order, DACA - Deferred Action for Childhood Arrivals, protecting undocumented immigrants brought to the U.S. as children. Security throughout the area is high with President Donald Trump in residency at the tower, his first visit back to his apartment since his inauguration. Numerous protests and extensive road closures are planned for the area. (Photo by Spencer Platt/Getty Images)
Now playing
02:30
Trump's twists and turns on DACA
ice explainer van jones vpx_00014806.jpg
ice explainer van jones vpx_00014806.jpg
Now playing
01:49
Why Democrats call for ICE to be abolished
 Yazmin Juarez and Marlee.
Arnold & Porter
Yazmin Juarez and Marlee.
Now playing
01:59
Child dies weeks after ICE custody
Maria Venegas
Now playing
02:36
ICE agents detain man driving wife to hospital
CNN
Now playing
01:39
Tlaib: We had border security before ICE
mother daughter reunited 62 days orig js_00003102.jpg
mother daughter reunited 62 days orig js_00003102.jpg
Now playing
01:13
Mother and daughter reunited after 61 days
WCVB
Now playing
00:58
Elizabeth Warren: US immigration a moral crisis
CNN
Now playing
01:45
Immigration attorney represented 3-year-old
CNN
Now playing
01:34
Lawmaker arrested during Trump protest
CNN
Now playing
01:24
Senator: US is encouraging illegal immigration
CNN
Now playing
01:44
Protesters block bus at immigration site
CNN
Now playing
01:55
Rep. Speier: I saw children crying in cells
US President Donald Trump walks to board Marine One as he departs for North Dakota at the White House in Washington, DC, on June 27, 2018.
NICHOLAS KAMM/AFP/Getty Images
US President Donald Trump walks to board Marine One as he departs for North Dakota at the White House in Washington, DC, on June 27, 2018.
Now playing
01:59
Trump blasts movement calling to abolish ICE
Secretary of State Mike Pompeo listens as President Donald Trump speaks during a cabinet meeting at the White House, Thursday, June 21, 2018, in Washington. (AP Photo/Evan Vucci)
Evan Vucci/AP
Secretary of State Mike Pompeo listens as President Donald Trump speaks during a cabinet meeting at the White House, Thursday, June 21, 2018, in Washington. (AP Photo/Evan Vucci)
Now playing
01:36
Trump: GOP should stop wasting time on immigration
Immigrant children walk in a line outside the Homestead Temporary Shelter for Unaccompanied Children, a former Job Corps site that now houses them, on Wednesday, June 20, 2018, in Homestead, Fla. (AP Photo/Brynn Anderson)
Brynn Anderson/AP
Immigrant children walk in a line outside the Homestead Temporary Shelter for Unaccompanied Children, a former Job Corps site that now houses them, on Wednesday, June 20, 2018, in Homestead, Fla. (AP Photo/Brynn Anderson)
Now playing
01:54
Children in limbo after Trump executive order
CNN
Now playing
02:08
Why immigrants make dangerous journey to US
(CNN) —  

The Justice Department won’t defend the Deferred Action for Childhood Arrivals program in a federal lawsuit that Texas and six other states filed last month challenging the constitutionality of the program.

The DOJ argued in a legal filing late Friday that the DACA policy is unlawful and is “an open-ended circumvention of immigration laws.”

The DOJ’s filing was in response to a lawsuit brought by Texas Attorney General Ken Paxton on behalf of seven states to the United States District Court for the Southern District of Texas. The states argue that former President Barack Obama’s initial creation of DACA in 2012 violated the Constitution and federal law.

The states challenging DACA are Texas, Alabama, Arkansas, Louisiana, Nebraska, South Carolina and West Virginia.

President Donald Trump decided to end the DACA program, which granted protections from deportation and work authorization to young undocumented immigrants who had come to the US as children, but has been blocked from ending the program, for the time being, by other federal courts.

In court papers, the DOJ also argued against a nationwide ruling, saying it could potentially conflict with similar cases in California and New York, in which judges issued nationwide rulings ordering the Department of Homeland Security to resume considering renewal applications for the two-year work permits and protections from deportations.

Karen Tumlin, legal director of the National Immigration Law Center, which advocates for rights of immigrants, say the DOJ’s position was not a surprise.

“Reminder: this is the same administration that ended DACA without a coherent legal basis and without care for DACA recipients,” she wrote on Twitter.