The Republicans are counting on a favorable congressional map to help their majority ride out a possible “wave” election this November. But the congressional map got a little less favorable on Monday when the Pennsylvania Supreme Court struck down the state’s Republican-drawn congressional map.

If the ruling holds — and it is expected to, because it’s based on state law, not federal — this will be the fourth Republican gerrymander to be eroded by the courts since the 2014 midterm elections. It will probably cost the Republicans at least one seat in this year’s midterms, while eroding their position in several others.

Pennsylvania has one of the harshest gerrymanders in the country. Republicans have held a 13-to-5 majority in the state’s congressional delegation since the map took effect in 2012, even though the state is traditionally competitive in state and federal elections.

It’s impossible to predict exactly what the new map will look like. The court ordered the Republican-controlled state legislature to produce a new map by Feb. 9. Gov. Tom Wolf, a Democrat, will have a veto, and if a new map isn’t approved by Feb. 15, the court will probably redraw the map itself. Neither outcome will necessarily yield an incumbent-blind nonpartisan map, like the kind that would be drawn by a commission in California or Arizona.