PHOENIX (AP) — Young immigrants granted deferred deportation status under a program started by former President Barack Obama are not eligible for lower in-state college tuition, the Arizona Supreme Court ruled Monday.

The unanimous ruling will affect at least 2,000 students attending the state's largest community college district and hundreds more at other colleges and the state's three public universities.

The Maricopa County Community Colleges District and state universities said they would begin raising tuition immediately for the coming school year.

First word of the 7-0 decision came in a tweet from Arizona Attorney General Mark Brnovich. The court said it would issue a written opinion explaining its reasoning by May 14.

The high court heard arguments last week in the case affecting participants in the 2012 Deferred Action for Childhood Arrivals program, known as DACA.

Matt Hasson, spokesman for the Maricopa County Community Colleges District, said the district was disappointed.

"This ruling is troubling for the 2,000 DACA students currently enrolled in Maricopa Community Colleges," he said in a statement. "During the past five years, more than 600 DACA students earned an associate's degree or a certificate from one of our colleges and are making valuable contributions to the health of our economy."

The chair of the state Board of Regents also lamented the decision, which came in a case pursued by the attorney general after the community college district began allowing DACA students to pay in-state tuition several years ago.

A lower court in 2015 rejected the attorney general's contention that lower tuition violated a voter-approved 2006 law known as Proposition 300 that prohibits public benefits for anyone living in Arizona without legal immigration status.

The university system used that ruling to offer lower tuition and continued the practice when the Court of Appeals ruled last year that federal and state law don't allow lower tuition for DACA students.

A current community college student taking a full-time course load would see tuition go from about $2,580 a year to about $8,900 a year. The state's three universities have a policy of charging residents without citizenship 150 percent of in-state tuition, moving tuition from about $10,000 a year to $15,000 per year.

Many young people covered by the DACA program, who are known as Dreamers, had said their school plans would be derailed if they lost access to lower in-state fees.

"Not only does this put education out of reach for most students, many will simply drop out from this disappointing decision," said Edder Diaz Martinez, a DACA recipient himself and a founding member of Undocumented Students for Education Equity, a group representing immigrant students at Arizona State University.

The Arizona Supreme Court said it was making its decision known quickly to give the district and its students, as well as the state, as much time as possible for planning.

The case was filed under former Attorney General Tom Horne and continued by Brnovich. He issue a statement saying his duty was to uphold the law.

"While people can disagree what the law should be, I hope we all can agree that the attorney general must enforce the law as it is, not as we want it to be," the statement said.