As it battles to stay open, Charlotte School of Law is blaming its problems on the federal government, the law school accreditation body and disgruntled former students who have sued the school.

Now, the for-profit school in North Carolina faces a fresh challenge in the form of a civil investigation opened by the state attorney general’s office.

“We are looking into whether students were able to make decisions about attending the school with the full information they needed,” Josh Stein, the attorney general, said in a phone interview. “This affects a lot of students and involves a lot of money. Students had an average of $50,000 in loans a year.”

About 700 students were enrolled at the law school as of last fall, and from the fall of 2010 to the spring of 2016, the school received $337.1 million in federal student loans for tuition and student living expenses, according to Law School Transparency, a nonprofit that tracks data about the nation’s law schools.