A three-judge panel in Wisconsin on Tuesday dismissed a lawsuit filed by Democratic voters challenging the state’s congressional map, ruling that only the Wisconsin Supreme Court has the authority to determine whether new district lines should be drawn.

In its decision, the panel clarified it was not weighing in on the fairness of the current map, but rather on the limits of its judicial role. The judges stated they could not interpret prior Wisconsin Supreme Court rulings beyond their explicit scope, effectively leaving any potential redistricting decision to the state’s highest court.

While the ruling can be appealed, it remains unclear whether the Wisconsin Supreme Court would act in time to affect the upcoming U.S. midterm elections.

The case comes amid a broader national battle over redistricting, as both Republicans and Democrats pursue efforts to reshape congressional maps ahead of November. Donald Trump has called on Republican-led states to redraw districts to help maintain GOP control of Congress.

That push gained traction last year when Texas Republicans approved a rare mid-decade redistricting plan aimed at flipping several Democratic-held seats. In response, Democratic-led states such as California have explored their own map changes targeting Republican incumbents, escalating the partisan fight over district boundaries.

Under Wisconsin’s current congressional map, Republicans hold six of the state’s eight U.S. House seats, with two districts viewed by analysts as competitive. The outcome of ongoing legal and political challenges could play a role in determining the balance of power in Washington, where Republicans currently maintain narrow majorities in both chambers of Congress.