Facing a federal lawsuit and mounting criticism, Education Secretary Betsy DeVos on Friday said she will forgive loans for more than 1,500 borrowers who attended a pair of for-profit colleges that shut down last year.

Students who attended the Art Institute of Colorado and the Illinois Institute of Art from January 20, 2018 through the end of last year will have their federal student loans canceled, DeVos said. Students who attended another 24 schools owned by the same company can get their loans erased if they enrolled after June 29, 2018.

The decision involves schools owned by the Dream Center company, which collapsed last year and shuttered campuses across the nation.

Get Breaking News Delivered to Your Inbox

DeVos has faced criticism over her handling of federal loan forgiveness programs, which were expanded by the Obama administration following the collapse of the Corinthian Colleges. Corinthian was accused of lying to students to get them to enroll.

Under DeVos, the Education Department has stopped processing claims from students who said they were defrauded by their schools, leaving tens of thousands of borrowers in limbo as they seek loan cancellations. DeVos has also moved to tighten eligibility rules, prompting backlash from Democrats and a flurry of lawsuits from students and advocacy groups.

In the latest case, a federal lawsuit against the Education Department alleges that the department illegally released federal student aid to the Colorado and Illinois schools even after they lost the seal of approval from their accreditor. Losing approval should have made the schools ineligible for funding, the suit says — but instead, they were allegedly allowed to keep operating without telling students that the institutions were in trouble.

But despite announcing the loan forgiveness Friday, the department shifted blame to the accrediting group, the Higher Learning Commission, saying it assigned the schools a "newly developed and improperly defined accreditation status." The department said it believes the schools should not have lost their accreditation, and that by revoking it, the accreditor left students with tarnished credits that might not be accepted by other schools.

"The department is committed to holding institutions and accreditors accountable to the students they serve," DeVos said in a statement. "In this instance, students were failed and deserve to be made whole."

The Higher Learning Commission did not directly respond to DeVos' allegations, but applauded her decision to provide relief.

"HLC's policy requires institutions to promptly inform their students and other stakeholders regarding any change to their accreditation status," the group said. "In this instance, the institutions did not appropriately inform their students as was required and specifically instructed by HLC."

Students of former Dream Center schools sued DeVos on October 22, demanding loan forgiveness and other measures that DeVos largely agreed to in her Friday announcement. Student Defense, a Washington advocacy group that helped file the suit, celebrated the news as a victory.

"At long last, the department is taking action to cancel the illegal debt that it issued for students who were ripped off by the Dream Center," said Eric Rothschild, the group's litigation director. He added that the group will continue its suit to make sure borrowers get the full relief they deserve.

Representative Bobby Scott, a Virginia Democrat and chairman of the House Education Committee, said DeVos' decision grants only partial loan forgiveness to the 1,500 borrowers and falls "well short" of what they deserve.

"For the vast majority of defrauded students, this announcement cancels only a small portion of the loans they took out to attend a failing school," Scott said. "These students will continue to face an uphill battle to repay those loans without the benefit of a quality degree."

The department did not immediately respond to Scott's comment.

In a separate case last month, a federal judge held DeVos in contempt of court and issued a $100,000 fine after the department violated a court order barring it from collecting loans on former Corinthian students. The department has filed an appeal, asking the judge to reconsider.

Meanwhile, House Democrats are threatening to compel DeVos to appear at a hearing and explain why her agency has failed to provide loan forgiveness that was previously promised to thousands of former Corinthian students. DeVos has declined requests to face the House's Education Committee, and on Thursday suggested a private meeting with Scott.

The Dream Center collapse has also attracted attention from Democrats. In an October 22 letter, Scott threatened to subpoena the agency for records detailing its role in the chain's closure. Documents released by Democrats suggest that the department provided nearly $11 million in student aid to the Illinois and Colorado schools, even though officials knew their accreditation had been revoked.

The department later granted the two campuses temporary status as nonprofit institutions, which exempted them from certain rules and restored their eligibility for federal funding. The suit brought by former Dream Center students says that move was an attempt "to unlawfully fix and conceal its earlier misconduct."

The department has denied any wrongdoing in the case.