South Carolina will be allowed to use a new congressional map struck down as a “racial gerrymander” for the upcoming 2024 elections while the U.S. Supreme Court reviews the validity of the controversial district lines drawn by the state’s Republican-controlled legislature.

The federal district court panel that originally held the state’s new First Congressional District to be illegal agreed on Thursday to let state election officials use those district boundaries for the fast-approaching primary election on June 11, stating it would be “plainly impractical” to come up with a new map before key election deadlines.