Florida’s cap on noneconomic damages in medical malpractice injury cases is unconstitutional, the Florida Supreme Court ruled Thursday.

The 4-3 decision relied on the court’s 2014 ruling that a similar cap in wrongful death cases violated the Florida Constitution’s equal protection clause. Lawmakers put the caps in place in 2003 because they said a medical malpractice insurance crisis was pushing doctors to leave Florida.