The Supreme Court is wading into the thicket of partisan redistricting in a case from Wisconsin.

The justices say Monday they will decide whether Republican lawmakers drew electoral districts so out of whack with the state’s political breakdown that they violated the constitutional rights of Democratic voters.

It’s the high court’s first case on what’s known as partisan gerrymandering in more than a decade, and the outcome could affect elections across the country.