A federal appeals court in Washington, D.C. said Tuesday that the most recent legislative district maps drawn by Texas lawmakers don’t comply with the Voting Rights Act.

In 2011, Texas lawmakers created new state house, state senate and U.S. congressional districts. Those district maps have undergone months of litigation. The court was not ruling on the current, interim maps that federal judges drew to enable the state’s primary elections, but rather, those maps drawn by the Republican-controlled legislature.

Prosecutors needed to show the court that Texas lawmakers didn’t have discriminatory purposes when they drew the maps, but the court said they failed to show that. Texas Attorney General Greg Abbott immediately vowed to appeal to the U.S. Supreme Court.

You can read the opinion for yourself below.