The court deemed the new map and the bill that triggered it unconstitutional, following a lawsuit from the Republican National Committee.