Still, the outcome was a setback for advocates of limits on what is known as partisan gerrymandering because they hoped they had finally found a way to prove their case to a long-skeptical Supreme Court and Justice Anthony Kennedy, in particular. There were two cases on the court's agenda, one brought by Democrats and the other, by Republicans.