COLUMBIA, S.C. (WCBD) – Three federal judges ruled Friday that South Carolina’s 1st Congressional District boundaries must be redrawn following claims the current district map — which was recently redrawn and prompted court challenges — is racially gerrymandered.

A decision to redraw the district came not long after Democrat Joe Cunningham was elected to represent the district in a political upset during the 2018 election.

Rep. Nancy Mace currently represents the district. She beat Cunningham in 2020 after Cunningham became the first Democrat to flip a U.S. House seat in South Carolina in 30 years.

Mace won by just over 1 percentage point in 2020, but after the district was redrawn, won by 14 percentage points in November.

Friday’s ruling is connected to a lawsuit filed by the South Carolina State Conference of the NAACP last year saying the new maps violated electors’ rights and were motivated by race.

As part of their ruling Friday, the three judges — Mary Geiger Lewis, Toby J. Heytens, and Richard M. Gergel — said they carefully weighed the evidence and found that race was the predominant motivating factor in the General Assembly’s redesign of the district and that traditional districting principles were subordinated to race.

“The Court finds that to achieve a target of 17% African American population in Congressional District No. 1, Charleston County was racially gerrymandered and over 30,000 African Americans were removed from their home district,” the court said as part of its conclusion.

“State legislators are free to consider a broad array of factors in the design of a legislative district, including partisanship, but they may not use race as a predominant factor and may not use partisanship as a proxy for race,” they said.

“I look forward to continuing to deliver results for the Lowcountry no matter what the lines of SC01 look like,” Mace said in a statement. “I will always work hard and serve as an independent voice for the Lowcountry.”

The South Carolina General Assembly will need to present the court with a remedial map for consideration by March 21.