A federal appeals court ruled on Monday that Arizona is not allow to deny young immigrants who were brought to the United States as children driver's licenses.

Arizona instituted a policy that denied recipients of the "Deferred Action for Childhood Arrivals" program, which allowed some young undocumented immigrants the chance to stay in the country, the ability to obtain driver's licenses, Reuters reports.

The 9th U.S. Circuit Court of Appeals overruled a district court's decision, saying that they "could identify no legitimate state interest that was rationally related to defendants' decision to treat DACA recipients disparately from other noncitizens."

Arizona Gov. Jan Brewer was not at all happy with the ruling noting, "It is outrageous, though not entirely surprising, that the Ninth Circuit Court of Appeals has once again dealt a blow to Arizona's ability to enforce its laws."

According to The Associated Press, She also insinuated the ruling was political, pointing out that Democratic presidents had appointed the three judges on the appeals court.

Since the 2012 introduction of the DACA by the Obama administration about 520,000 young undocumented immigrants have been approved to stay in the country for the time being.

Brewer is currently looking into whether to appeal the ruling.