The goal of gerrymandering is to simply manipulate the boundaries of voting districts so that the party in power can win as many seats as possible.
An Associated Press analysis observed that when it comes to gerrymandering, again, the Republicans had the edge.
In Michigan, Wisconsin, Florida, North Carolina, Virginia, and Pennsylvania—states that determine the presidential winners—Republicans had drawn the district lines during the last Census of 2010.
Even a report by Brennan Center for Justice at the New York University School of Law supported AP’s claim that these new districts were not just messing up the nation’s maps but were actually posing “a threat to democracy.”
Unfortunately, the Supreme Court can’t intervene.
In 2019, the Conservative-majority Supreme Court ruled that partisan gerrymandering was a political query and it was for the individual states, and not for federal courts, to judge if it was unconstitutional.
And this is how gerrymandering works from coolguides