BIRMINGHAM, Ala. (AP) — An Alabama judge has thrown out the state’s system for imposing the death penalty the same day Florida lawmakers passed a bill to revamp a similar sentencing mechanism.

Jefferson County Circuit Judge Tracie Todd sided Thursday with defense attorneys who had cited a recent U.S. Supreme Court decision that Florida’s law was unconstitutional.

Juries recommend sentences in Alabama and Florida death penalty cases, but judges have the final decision. The Florida Legislature on Thursday passed a bill that would overhaul that state’s law.

Prosecutors argued Alabama’s law was different in key aspects, but Todd disagreed.

Todd’s decision bars prosecutors from seeking the death penalty against four men charged in three slayings.

The state attorney general’s office didn’t immediately return a telephone call requesting comment about whether prosecutors would appeal.

Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.