Appellate court affirms ruling, releasing defendants from ja