In 2019, the U.S. Supreme Court said it has no role in restraining partisan gerrymandering, where parties manipulate voting district boundaries to favor one party over another.
Source: Roe v. Wade overturn sheds light on the gerrymandering common in U.S. legislature