A deeply divided New York Court of Appeals struck down Congressional and state Senate district maps as unlawfully gerrymandered Wednesday.

In a 4-3 decision, the state’s highest court found Democratic lawmakers who advanced the political maps without a single Republican vote violated a 2014 constitutional amendment that aimed to thwart partisan mapmaking.